Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

SourceTree support for different git-dir and work-tree directories?


I've got a 'detached' repo steup where the git-dir is outside of the work-tree. This is because the work-tree is a mounted drive which will only store certain types of files, so I can't put git files there. Is there any way of getting SourceTree to wok with this kind of setup? Thanks!

4 answers


I have the same problm now. How can I colve it with SourceTree?

Also looking for this functionality.



There's no way to customize (for example) "git add" command.


Nothing still after 6 years?

Was this ever in feature request?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,702 views 134 29
Read article

Atlassian Community Events