Change repo url in TortoiseGit

2019-03-10 13:40发布

问题:

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.

回答1:

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.



标签: tortoisegit