How to protect “master” branch in GitHub?
We are a team of a few people. Everyone works on a feature branch and merges his stuff through GitHub UI into master when one is ready. Now is it possible to prevent direct pushes to master , but instead create a pull request whenever a new feature is ready to be merged? Additionally it would be awsome to restrict merges to a subset of devs only. Additionally it would be awsome to restrict merges to a subset of devs only. You can restrict pushes to a branch in an Organization to specific users or teams. This will allow you to set up a team that can merge back into master . Alternatively, for a