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

0 votes


Please raise a bug ticket at


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,220 views 4 2
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