列出分支时,结果如下。
git branch -a | grep origin
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/metering
remotes/origin/sean.sonar
但是当我尝试删除时,它就失败了。
git push --delete origin sean.sonar metering -f
error: unable to delete 'sean.sonar': remote ref does not exist
error: unable to delete 'metering': remote ref does not exist
error: failed to push some refs to 'https://github.*****"