Git has come to redefine the code language. Thanks to Linus Torvalds for conceiving the ground plan for software developers’ Bible way back in 2005. Today Git has undoubtedly become — the most widely used control system for software development.

Git’s cloud version provider GitHub, has become the repository of open source software development. Now the San Francisco headquartered company has announced its plan to introduce a new feature to provide administrators with full access to disable force pushes in Git.

The feature, named as Protected Branches, will make sure that collaborators on a developer’s repository do not make irreversible changes to branches.

Protected Branches gives the administrators the ability to protect a desired branch. After the administrator enables the feature, it blocks collaborators from force pushing, deleting and making changes to branches without the consent of the administrator.

This feature has been designed keeping in the mind the administrators who have a bunch of collaborators in their repository. This feature as a whole, works by blocking several existing Git features, thereby limiting the collaborators access to repository. Administrators can enable the feature on GitHub and can choose the Branches that needs to be protected in their repository settings.

Once a branch is protected, it can run status checks and can enforce Status API, which can be disabled by the administrator. GitHub has also introduced a new button to update the branch, through which the developers can combine the latest changes from the base branch of the Pull Request with a single click.

The company believes that this is essential so that the status checks remain positive. GitHub currently proclaims to have 10 million users using Git on its platform and had bagged a whopping $250 Million in July.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.