Skip to content

Automatically protect branches

Instead of setting up individual protections for many branches in your repository, save time by automatically enforcing protected branch settings for some or all of your branches.

Learn more about protected branches on GitHub

Previously, if you wanted to use GitHub to remove files from a pull request, you’d need to switch to the pull request branch and look for the individual file to delete it. Now, if you have write permission, you can click on the ‘trash’ icon for a file right in the pull request’s “Files changed” view to make a commit and remove it. For more info on deleting files, check out our documentation.

See more