Hacker News new | ask | show | jobs
by lamby 3200 days ago
You can do this on Github with custom hooks etc. But yes.
1 comments

That's potentially one way of doing it but Github does also have a specific feature for doing this literally called "Protected branches":

https://github.com/blog/2051-protected-branches-and-required...