Is there a setting or hack to configure Sourcetree to not allow the client to merge the Develop branch into a local working branch? We have an ongoing issue with developers "tainting" their local branch by pulling the Develop branch into it mid-cycle. Ideally, I'd like to make it so that the Develop branch is locked and the only thing you can do is branch it.
FWIW - Bitbucket is our repository - but I suspect this is outside the realm of the repository since the method it uses to enforce pull requests is by preventing pushes, which wouldn't be possible for a working branch.
Welcome to the Atlassian community!
In brief, Sourcetree doesn't feature a "lock" option to stop local merges because that function is mainly managed by Git's core system on your device.
However, you have two solid ways to manage this:
develop into a restricted local branch.If "tainting" the local branch is the main concern, a Git Hook is your best bet for a "hard stop" on the client side.
Cheers,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.