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 vote


Please raise a bug ticket at


Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot