当我尝试使用
git push origin :branchname
来删除远程git分支时,出现以下错误信息:
但是,当我键入error: unable to push to unqualified destination: remotes/origin/branchname The destination refspec neither matches an existing ref on the remote nor begins with refs/, and we are unable to guess a prefix based on the source ref.
git branch -a
时,仍然可以看到它在remotes/origin/branchname
中。为什么我不能在远程上删除它呢?