最佳答案
$ git branch -d remotes/origin/bugfixerror: branch 'remotes/origin/bugfix' not found.
$ git branch -d origin/bugfixerror: branch 'origin/bugfix' not found.
$ git branch -rd origin/bugfixDeleted remote branch origin/bugfix (was 2a14ef7).
$ git pushEverything up-to-date
$ git pullFrom github.com:gituser/gitproject
* [new branch] bugfix -> origin/bugfixAlready up-to-date.
如何在本地和远程正确删除remotes/origin/bugfix
分支?