SourceTree For Windows about subtree, I find a question

when I use sourcetree add subtree, I find that will always add failed, the path is : D:\_Work\2_Git\TestModule\Assets\Test\SubTree. the folder TestModule is a git library ,the folder Test and Test\SubTree has not been created yet. and when I create subtree, it will tips me error: pathspec 'Assets\Test\SubTree' did not match any file(s) known to git.

finally, I find change the path to D:\_Work\2_Git\TestModule\Assets/Test/SubTree,

will be right. on windows, I am accustomed to use \ to path. can you change it to smart? whatever I use \ to path, it can be normally.

and I also test if folder "Test\SubTree" is exist, as long as I use \ will be failed, use / will be ok.

Hope to be able to fix this problem as soon as possible

1 answer

This widget could not be displayed.


Please raise a bug ticket at


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...

874 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