git 删除时报 the branch is not fully merged 这是什么意思

今天删除本地分支 git branch -d XX 提示:  the branch  XXX is not fully merged
原因:XXX分支有没有合并到当前分支的内容

解决方法:使用大写的D 强制删除 git branch -D XXX

另外不能删除当钱checkout 的分支
原文地址:https://www.cnblogs.com/lxwphp/p/9209795.html