Remove Branch - GitHub (Admin):

Table of Content:

About:

This document explains how you remove a branch in GitHub.

Delete Protection Rules:

  1. Go to GitHub and to the Company page. Go to the Repo in question. Click Settings.
    !112aa.png

  2. Click Branches, and find the correct branch. Delete it.
    !113aa.png

Remove branch:

  1. Click ‘General’ and look for the correct branch and click the ‘arrows’.
    !114aa.png

  2. Then click ‘the correct branch and switch it to ‘master'.
    !115aa.png

  3. Click ‘Update’.
    !116aa.png

  4. Click ' I understand, update the the correct branch.
    !117aa.png

  5. Then click ‘Code’, and ‘master’ and then ‘View all branches’.
    !118aa.png
    !119aa.png

  6. Then click the trash/bin on the the correct branch branch. Then Confirm.
    !120aa.png
    !121aa.png

And you are done. 😄