该git branch -a
命令给了我以下输出:
master
stable
remotes/origin/master
remotes/origin/restoring_entered_information_from_post
remotes/origin/stable
但是restoring_entered_information_from_post
在 Github 上没有这样的分支,我从来没有在本地创建它,并且尝试用git push origin :restoring_entered_information_from_post
它删除它时响应:
error: unable to push to unqualified destination: restoring_entered_information_from_post
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.
error: failed to push some refs to 'git@github.com:MyCompany/mywebsite.git'