Hacker News new | ask | show | jobs
by dkuntz2 4244 days ago
I'm pretty sure GHE has the ability to disable pushing to the default branch (which is set on a per-project basis, but by default it's master). But I think this is a per-instance setting (unless that's been changed recently).

So while everyone would have the ability to push to other branches, they wouldn't be able to touch master outside of pull requests, which I think is what you want anyways.