GIT-DELETE-BRANCH(1)
π GIT-DELETE-BRANCH π
okay bestie, so you know git-extras? yeah. this is one of its little icons, and fr fr it's the moment you've been waiting for: the manual page for git-delete-branch, served fresh from the Git Extras fam. no cap. π
β¨ NAME β¨
git-delete-branch β it deletes branches. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
git-delete-branch <branchname>
π DESCRIPTION π
So here's the tea: this one goes in and deletes both the local and the remote branch named <branchname>. two for one, she ate. π
β οΈ but bestie, listen β the local deletion fails if the branch is checked out. like, git will not let you delete the branch you're literally standing on. sorry babe, that's just the rules. π
π OPTIONS π
<branchname>β the name of the branch you wanna delete. and here's the gag: if you hand over multiple branches, they will all get deleted. not one. not two. all. she's thorough. π
π EXAMPLES π
just one? okay, here:
$ git delete-branch integration
feeling spicy and wanna clear a whole squad at once? bet:
$ git delete-branch integration bug/1234
look at that. two branches, one command, zero regrets. β¨
π AUTHOR π
Written by Tj Holowaychuk <tj@vision-media.ca> β thank you king, icon, legend. π«Ά
π REPORTING BUGS π
found a gremlin in the code? go tell on it here, it's giving very much official:
<https://github.com/tj/git-extras/issues>
π₯ SEE ALSO π₯
the whole entire mothership, go explore bestie:
<https://github.com/tj/git-extras>
That's the page, mwah. π This one's from the Git Extras collection, dated May 2026 β the GIT-DELETE-BRANCH(1) girlie herself. Go forth and clean up those branches, you absolute main character. βππ
π¦ where this page comes from
- ubuntu stonking: git-extras 7.5.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms