How To Re-Locate Working Copy In SourceTree

32,587

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

Share:
32,587

Related videos on Youtube

motionpotion
Author by

motionpotion

I am here.

Updated on September 15, 2021

Comments

  • motionpotion
    motionpotion over 2 years

    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.

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

    • trojanfoe
      trojanfoe over 10 years
      Just delete the one you are using and add the one that Xcode is using.
  • cellepo
    cellepo almost 10 years
    That worked for me, except I had SourceTree Did not prompt me to change the path upon re-opening SourcTree. Instead I was able to do so by double clicking the local repo in SourceTree (that then prompted me).