All the sessions from Transform 2021 are available on-demand now. Watch now.

Source code repository software company GitHub today said that in the coming weeks it will roll out Protected Branches, a new feature that should help companies cut down on catastrophes stemming from developers “force pushing” code to certain parts, or branches, of repositories.

The “force push” command of the Git open-source software, which is at the core of GitHub, can force the software to overwrite existing code irrevocably. That can lead to months of setbacks if not done right.

Now GitHub — wisely — wants to make sure that doesn’t happen for the most precious parts of software projects sitting in a repository on GitHub’s website or in the GitHub Enterprise software companies run in a cloud or their own data centers. Hence today’s news.

“Over the next few weeks we’ll be rolling out a new feature called Protected Branches which gives repository administrators the ability to disable force pushes to specific branches,” GitHub designer and product manager Ben Bleikamp wrote. “When it’s enabled for your repositories you’ll be able to go to the Branches tab in repository settings and protect branches.”

Boasting more than 10 million users, San Francisco-based GitHub announced a $250 million funding round in July.

Some more information on Protected Branches is here.


VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative technology and transact. Our site delivers essential information on data technologies and strategies to guide you as you lead your organizations. We invite you to become a member of our community, to access:
  • up-to-date information on the subjects of interest to you
  • our newsletters
  • gated thought-leader content and discounted access to our prized events, such as Transform 2021: Learn More
  • networking features, and more
Become a member