Search code examples
tortoisegit

Change repo url in 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.


Solution

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

    • Right click on main folder
    • TortoiseGit
    • Settings
    • Git
    • Remote
    • Select the remote to update in the list of remotes
    • 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.