I do not see an option to prevent branch creation in bitbucket. Is there a reason this was omitted? I would like to prevent the creation of branches matching certain patterns. I had this set up on gitolite, but don't seem to have that option with bitbucket.
You need an app in order to prevent branch creations based on patterns, I have evaluated Jira Hooks for Bitbucket (server only) and it seems to do a good job. The other option would be to write a Git hook, but then you have to make sure the hook has been added to all clients.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.