You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Allow a repository to be configured to disallow checkins directly to master #106
For repositories that follow a flow wherein master is the always-ready-to-ship branch, it would be very nice if the github repo only allowed code changes on master via pull requests from other branches.
Protected branches only prevent people from merging if status checks have failed. They don't determine who gets to merge. i.e., I can't give collaborators permission to push only feature branches to the project, and disallow them from merging to develop and master -- they can either write everything or write nothing.
Activity
jantman commentedon Jan 18, 2015
+1
tgamblin commentedon Mar 27, 2016
BitBucket handles this well with branch permissions -- something definitely missing on GitHub.
NobbZ commentedon Mar 27, 2016
Aren't protected branches covering your issue? Don't use them so far but
read about them a month ago or two...
Todd Gamblin [email protected] schrieb am So., 27. März 2016 20:44:
tgamblin commentedon Mar 28, 2016
Protected branches only prevent people from merging if status checks have failed. They don't determine who gets to merge. i.e., I can't give collaborators permission to push only feature branches to the project, and disallow them from merging to
developandmaster-- they can either write everything or write nothing.