When deleting remote git branch “error: unable to push to unqualified destination”

后端 未结 9 1925
南旧
南旧 2020-12-12 10:42

I\'m trying to delete a remote git branch with

git push origin :my_remote_branch

and getting:

error: unable to push to unq         


        
9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 11:32

    For me the problem was, that this was my default branch on github. I changed default branch, then delete operation was succeeded.

    Hope it helps to someone

提交回复
热议问题