问题描述
我在 SourceTree 中添加了一个存储库.当我通过 XCode 向远程存储库提交更改时,我看到更改已远程提交,但我的工作副本未在 SourceTree 应用程序中更新.我必须在 SourceTree 中将更改重新设置为 master.这是因为我的工作副本文件夹在 SourceTree 中设置了错误的位置.
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 中本地工作副本文件夹的位置?
How can I change the location of the local working copy folder in SourceTree?
推荐答案
最简单的方法是移动旧的工作副本(重命名文件夹).下次启动 SourceTree 时,SourceTree 要您设置新的工作副本".存储库的文件夹.
The easiest way is to move your old Working Copy (rename the folder).When you start SourceTree next time, SourceTree wants you to set the new "Working Copy" folder of the repository.
https://answers.atlassian.com/questions/43326/change-working-copy-location
这篇关于如何在 SourceTree 中重新定位工作副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!