Reputation: 3469
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.
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
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.
Upvotes: 1
Views: 4773