如何从bitbucket中删除git远程分支? [英] How to remove the git remote branch from bitbucket?
问题描述
I try to remove the git remote branch on the bitbucket by git push command:
我试图通过git push命令删除bitbucket上的git remote分支: origin:my_branch
remote:fatal:bad object 0000000000000000000000000000000000000000
remote:bb / acl:qrtt1是允许的。接受有效载荷
remote:fatal:bad object 0000000000000000000000000000000000000000
to git@bitbucket.org:qrtt1 / workspace.git
- [deleted] my_branch
qty:workspace qrtt1$ git push origin :my_branch
remote: fatal: bad object 0000000000000000000000000000000000000000
remote: bb/acl: qrtt1 is allowed. accepted payload.
remote: fatal: bad object 0000000000000000000000000000000000000000
To git@bitbucket.org:qrtt1/workspace.git
- [deleted] my_branch
但是,只删除了本地分支中的分支。我如何删除它?
However, only the branch in my local stroage removed. How do I remove it ?
PS。
推荐答案
事实上,它说这些错误/警告(可能是一些文章钩子BitBucket有那不正确?),它已经提前并删除了 my_branch
分支,如最后一行所示。转到网络用户界面并确认分支确实已经消失。
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.
这篇关于如何从bitbucket中删除git远程分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!