Automatically Delete Branches after Merging Pull Requests on GitHub

InstructorJoe Previte

Share this video with your friends

Send Tweet

In the settings of your repository, in the Merge Button section, select Automatically Delete Head Branches. Now when you merge a branch, the branch that is being merged will automatically be deleted.

If you prefer to learn by reading, you can read the accompanying blog post.