今天刪除本地分支 Git branch -d XX 提示: the branch XXX is not fully merged
原因:XXX分支有沒有合並到當前分支的內容
解決方法:使用大寫的D 強制刪除 git branch -D XXX
另外不能刪除當錢checkout 的分支
其它:刪除遠程分支 需要切換到其它分支之后刪除當前分支
否則會:error:cannot delete the branch 'XXX' which you are currently on
刪除遠程分支:
git push origin :XXXX
