How to remove the git remote branch from bitbucket?

后端 未结 3 504
花落未央
花落未央 2021-02-04 00:56

I try to remove the git remote branch on the bitbucket by git push command:

qty:workspace qrtt1$ git push origin :my_branch
remote: fatal: bad object 00000000000         


        
3条回答
  •  情话喂你
    2021-02-04 01:19

    Eventhough, it says those errors / warnings (probably some post hook that BitBucket has that is not proper?), it has gone ahead and deleted the my_branch branch, as indicated by the last line. Go to the web UI and confirm that the branch is indeed gone.

提交回复
热议问题