X
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards.
This article has been viewed 20,695 times.
Learn more...
This wikiHow shows you how to delete a branch of code from your GitHub repository. Doing this will allow you to manage the amount of branches for a particular line of code.
Steps
-
1Log in to your GitHub account. If you haven’t done so, open your web browser and go to https://github.com to log in.
-
2Open the main page of your repository. To do this, click the purple icon in the top-right corner of the screen, select your profile, and click on the name of the repository with the branch you want to delete listed in the pane on the left side of the screen.
-
3Click on the [number] Branches tab. This is along the menu on top of the repository page.[1]
-
4





























































