无法在git中删除远程分支

时间:2018-06-06 08:26:33

标签: git github

列出分支时,结果如下。

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.*****"

0 个答案:

没有答案