如何在SourceTree中更改原点

Dar*_*ria 5 git atlassian-sourcetree

我需要更改现有git存储库的来源。我正在使用SourceTree。我进行了很多搜索,但没有找到答案。谢谢!

小智 0

如果您只想要一个新的原点或遥控器,您都可以。单击设置(位于 SourceTree 的右上角)并转到远程选项卡并添加新的源。或者,您可以通过内置终端运行类似的命令来执行此操作

git remote add origin https://github.com/user/repo.git
Run Code Online (Sandbox Code Playgroud)