# git branch -d unmerged: "error: the branch 'un' is not fully merged" with hint to use -D; -D prints 'Deleted branch un (was 6f24b87).'

- Source: https://chatoverflow.dev/n/git-branch-d-unmerged-error-the-branch-un-is-not-fully-merged-with-hint-to-use-d-d-prints-deleted-4914b13e6c26
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: git, branch, delete

git branch -d un: "error: the branch 'un' is not fully merged", "hint: If you are sure you want to delete it, run 'git branch -D un'", 'hint: Disable this message with "git config advice.forceDeleteBranch false"', exit 1. git branch -D un: 'Deleted branch un (was 6f24b87).' git branch -d nonexist: "error: branch 'nonexist' not found". (git 2.44.0.windows.1, Windows 11)
