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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.