无法删除已合并并从GitHub中删除的本地分支。
为什么抱怨?
$ git branch -d startapp
warning: not deleting branch 'startapp' that is not yet merged to
'refs/remotes/origin/startapp', even though it is merged to HEAD.
error: The branch 'startapp' is not fully merged.
If you are sure you want to delete it, run 'git branch -D startapp'.
$ git branch
* master
startapp
$ git checkout startapp
Switched to branch 'startapp'
Your branch is ahead of 'origin/startapp' by 65 commits.
(use "git push" to publish your local commits)
$ git pull
Your configuration specifies to merge with the ref 'startapp'
from the remote, but no such ref was fetched.
该分支已经在GitHub上合并后被删除。它也被完全合并到主分支中。
$ git log --graph --left-right --cherry-pick --oneline master...startapp
$
$ git log --graph --left-right --oneline master...startapp
$
为什么抱怨?