motionpotion
motionpotion

Reputation: 2736

How To Re-Locate Working Copy In 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.

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

Upvotes: 31

Views: 51024

Answers (3)

Mike
Mike

Reputation: 312

On macOS the path is: ~/Library/Application Support/SourceTree/browser.plist

Upvotes: 0

Qwerty
Qwerty

Reputation: 31915

Another way is to adjust the entry in sourcetree's bookmarks xml file

%localappdata%\Atlassian\SourceTree\bookmarks.xml

e.g.

C:\Users\Qwerty\AppData\Local\Atlassian\SourceTree

Upvotes: 10

Schubie
Schubie

Reputation: 734

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

Upvotes: 60

Related Questions