As Github projects start splintering into side projects and teams grow, the chances of things getting a bit muddled scale. Now, administrators can protect their branches, and keep a project silo’d until they’re ready for changes.
Protected Branches, which Github is rolling out over the next few weeks, allows repository administrators the ability to disable force pushes for branches.
Those protected branches can also have required status checks to the master branch, and administrators have the ability to disable merges until their branches are up-to-date with the master.
It’ll keep projects a bit locked down, but will ultimately help developers keep things on the right track. If you’ve ever pushed an update to the wrong branch, this will help prevent it from happening again.
Pssst, hey you!
Do you want to get the sassiest daily tech newsletter every day, in your inbox, for FREE? Of course you do: sign up for Big Spam here.