xcode 如何在 SourceTree 中重新定位工作副本

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19118421/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 04:56:57  来源:igfitidea点击:

How To Re-Locate Working Copy In SourceTree

xcodeatlassian-sourcetree

提问by motionpotion

I have a repository added to SourceTree. When I commit a change to the remote repository through XCode I see the change get committed remotely but my working copy doesn't get updated in SourceTree app. I have to rebase the changes to master in SourceTree. This is because my working copy folder is set to the wrong location in SourceTree.

我有一个存储库添加到 SourceTree。当我通过 XCode 向远程存储库提交更改时,我看到更改已远程提交,但我的工作副本未在 SourceTree 应用程序中更新。我必须在 SourceTree 中将更改重新设置为 master。这是因为我的工作副本文件夹在 SourceTree 中设置了错误的位置。

How can I change the location of the local working copy folder in SourceTree?

如何更改 SourceTree 中本地工作副本文件夹的位置?

回答by Schubie

Easiest way is to move your old Working Copy (rename the folder) When you start SourceTree next time, SoureTree wants you to set the new Working Copy folder of the repository.

最简单的方法是移动旧的工作副本(重命名文件夹) 下次启动 SourceTree 时,SoureTree 希望您设置存储库的新工作副本文件夹。

https://answers.atlassian.com/questions/43326/change-working-copy-location

https://answers.atlassian.com/questions/43326/change-working-copy-location