If you are using the SSH (secure protocol) URL: git remote add origin you have to generate a SSH keypair on your computer and add the public key to your Github account for the above to work. You can add and remove remotes by navigating to the remotes section in the sidebar.On your local terminal, navigate to the root of you local repo and write the following git command, depending on the format you are using. When you click on the remote you can then edit the associated urls. Gitkraken lists configured remotes in the sidebar. Tower lists configured remotes in the sidebar. You might need to consult the help documentation for your chosen application however I have provided a couple of Screenshots below as examples to give an idea of what this might look like. If you like to use a Graphical git tool, like most people who value their sanity, then you will find this should be very straightforward to do. Git remote remove old-origin Using a git GUI
0 Comments
Leave a Reply. |