1

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

torek
  • 448,244
  • 59
  • 642
  • 775
Bitwise DEVS
  • 2,858
  • 4
  • 24
  • 67

0 Answers0