Bitwise DEVS
Bitwise DEVS

Reputation: 3469

Bitbucket Permissions - Avoid direct push to specific branch

I want to disable write access or any direct commit on release/* and main/master, the only way for these branches to get update is via merge/pull request coming from feature, hotfix, bugfix, or develop branches to avoid trouble. How can I enforce such rule? Currently exploring Branch permission.

enter image description here

enter image description here

While allowing everyone that has access to the repository a pull from release and main/master and direct commit only on feature, hotfix, bugfix, or develop branches

enter image description here

enter image description here

Not sure if my understanding and what I am doing is correct as other user aside from Bitwise can still direct push to master branch.

enter image description here

Upvotes: 1

Views: 4773

Answers (0)

Related Questions