GitHub Brings Out Feature To Prevent Project Code Loss

At any given time, there could be a few developers working on the same project where the code is stored as a branch in a repository on GitHub. Trouble is, when different people are collaborating on the same code, there is always a chance that one person can overwrite someone else’s changes, resulting in lost work. GitHub has introduced a feature called Protected Branches to prevent this from happening.

Protected Brances allows repository administrators to disable force push changes to particular parts of a given project. This prevents the branch from being overwritten or deleted. Changes cannot be merged into a protected branch until status checks have been passed.

The new Protected Branch will be gradually rolled out on GitHub in the coming weeks. You can read more about it over at GitHub’s blog post.

[Via GitHub blog post]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments