Bitbucket have the way to protected branches, but it accept only one way to merge via pull request.
It should fine except if it has code conflict and cannot fix by itslef. It needs to creat a temporary branch that checkout form master then merge develop branch. Then fix conflict and pull request again from this branch.
I have 2 path
features to develop
develop to master
That's mean we do twice and always got a conflict
Anyone please suggest to me?
If an administrator of the repository has set up a branch permission for master that allows users to only merge via pull request (and no one pushing directly to the branch), then this is the only way that users can merge to master.
If you would like to be able to push directly to master, you will need to speak with one of the administrators of the repository, and ask them if they could allow your Bitbucket user to push directly to master branch.
It is possible to specify in the branch restrictions that certain users can push directly to master branch, but this will need to be set by one of the repo admins.
Please feel free to let me know if you have any questions.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events