How do I create a linked working tree?

I tried to use the Add Working Copy pane of the Clone / Add / Create Repository function to create a second working copy, but get the message "This is not a valid working copy path". There is nothing special about the working copy path: it is just an empty folder. 

Am I doing this right? What I want is a second copy (different branch) of the same code, working on the same repo. I think the git worktree command is what I want, but I'd like to manage it from within Souircetree if that's possible. Any help on this would be greatly appreciated.

1 answer

This widget could not be displayed.

You have to create the working tree via command line, then use Add Working Copy (which is essentially "Manage an existing repository") to manage it with SourceTree.

Vote up this issue if you'd like to be able to create the working tree in the GUI:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

868 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you