Join the community to find out what other Atlassian users are discussing, debating and creating.
Is it possible to restrict access to a Git branch using SourceTree, so that no one from the team is able to commit changes to this particular branch?
It's not possible to do so using Sourcetree's UI. You can accomplish this using Git by writing an appropriate pre-commit hook that looks at the target branch and rejects the commit if it goes to that particular branch.
Brian GanningerPrincipal Developer, Sourcetree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Brian. I will try that.
Still have a question?
Get fast answers from people who know.
A vulnerability has been published today in regards to Sourcetree for Windows. The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events