Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change repo url in TortoiseGit

Tags:

tortoisegit

We just updated our git repos to a new location and I'm using TortoiseGit with some uncommited changes. Can I change the folder reference anywhere? I'm not seeing the option in the context menus. I'd rather not recreate and merge if avoidable since there are about 14 repos in total. I'm not well versed in git so please let me know if the question is flawed as well.

like image 903
Shane Avatar asked Jan 24 '13 14:01

Shane


People also ask

How do I change my GitHub repository URL?

Switching remote URLs from HTTPS to SSH Change the current working directory to your local project. List your existing remotes in order to get the name of the remote you want to change. Change your remote's URL from HTTPS to SSH with the git remote set-url command. Verify that the remote URL has changed.

How do I find my repository URL?

On the GitHub website, click on you repository of interest. Locate the green button named Code and click on it. The GitHub URL will appear.

How do I link TortoiseGit to GitHub?

Use the TortoiseGit Puttykey generator to create a new keypair add your public key to GitHub. Clone/create a new repository. In thee Tortoise repository settings, set your fullname and email. Then in remote menu under the Git configuration menu enter your clone URL and select your PuTTY key.


1 Answers

As far as i understand question. Path to change url of remote repository is:

  • Right click on main folder
  • TortoiseGit
  • Settings
  • Git
  • Remote
  • In field remote select origin -> url of repository will appear in field URL: and can be changed from here.

Uncommited changes can be stashed, or committed locally.

like image 104
StormRideR Avatar answered Oct 07 '22 01:10

StormRideR