Our branch structure is master and integration. When we get new JIRA tickets we create a new branch off of master, do our work, commit to our new branch, merge with integration, test, if all goes well then we take the same branch and merge with master. Rinse and repeat.
Yesterday we accidentally merged integration with master which accidentally rolled out a ton of not ready code went to production. So two questions:
There is NEVER a use case for us that we would want to merge integration with master.
On preventing other branches from being merged with master. You can be guided by this link https://confluence.atlassian.com/bitbucketserver/using-branch-permissions-776639807.html
Regards Lenny
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.