Git 2 · Branches

Delete a merged branch

Delete a local branch that has been merged. Git refuses if it has unmerged work.

git branch -d feature/login

Official Git 2 documentation

More branches commands

All branches commands · Git 2 cheatsheet

Was this page helpful?