Change repo url in TortoiseGit

£可爱£侵袭症+ 提交于 2019-12-03 05:32:00

问题


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.



来源:https://stackoverflow.com/questions/14503381/change-repo-url-in-tortoisegit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!