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

后端 未结 9 1894
南旧
南旧 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:14

    Try following two options to delete remote branch forcibly

    Option 1

    get push origin --delete 
    

    Option 2

    git fetch -p origin
    git branch -r -d origin/
    

提交回复
热议问题