Hacker News new | ask | show | jobs
by hnlmorg 3200 days ago
You can do this on Github. It's even called the same. Go to your repo -> settings -> branches and it's the 2nd item (Protected branched).

I use this feature at work so I can confirm it behaves as expected.

1 comments

Oh, great! I tried it a while ago and the setting was nowhere to be found!