Git 2 · Branches
Delete an unmerged branch
Delete a local branch even if its commits are not merged.
git branch -D feature/login
Caution: Unmerged commits become hard to find. You can usually recover them with git reflog.
Git 2 · Branches
Delete a local branch even if its commits are not merged.
git branch -D feature/login
Caution: Unmerged commits become hard to find. You can usually recover them with git reflog.
Was this page helpful?