Kick off this New Year with 25% off on Kopyst Subscriptions! Use code NEWYEAR25
a
document-icon
How to Delete a Branch in GitHub ?
Created By Mitisha
|
3 months ago
|
document-icon GitHub
|
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.
document-icon
How to Delete a Branch in GitHub ?
By Mitisha
|
document-icon GitHub
|
6 Steps

1
Open your web browser and go to "https://github.com"
2
From your GitHub home page, click on your "Repositories".
Merged Image
3
Next, click on the "Repository" which contains the branch you want to delete.
You’ll see the main page of your repository.
Merged Image
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.
Merged Image
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
Merged Image

Create your own professional guides

Start creating your own How-to guides and videos today!

App page Cta