Skip to content

Expanded branch protection rules

The following improvements have been made to protected branches in order to facilitate more granular combinations of rules:

  • Reject any push that contains a merge commit by enabling Require linear history
  • Grant all users with push access the ability to force-push to a protected branch by enabling Allow force pushes
  • Grant all users with push access the ability to delete a protected branch by enabling Allow deletions

Learn more about enabling branch restrictions on GitHub