How to Delete a Branch in GitHub ?
|
GitHub
|
3 months ago
|

6 Steps
This document will teach you how to delete a branch in GitHub. You will learn how to delete a branch using the GitHub website. You will also learn how to delete a branch that has been merged and how to delete a branch that has been deleted locally.
How to Delete a Branch in GitHub ?

6 Steps
1
Open your web browser and go to "https://github.com"
2
From your GitHub home page, click on your "Repositories".

3
Next, click on the "Repository" which contains the branch you want to delete.
You’ll see the main page of your repository.

4
Click on the "Branches" tab, usually found near the top of the repository page.
This will show you a list of all branches in the repository.

5
Locate the branch you want to delete in the list.
You can see both active and stale branches here.
6
Click the "Trash" can icon next to the branch you want to delete.
A confirmation message may appear to confirm you want to delete the branch
