我尝试使用git push命令在Bitbucket上删除git远程分支。
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
然而,只有我的本地存储库中的分支被删除了。我该如何删除它?
附言:我可以用同样的方式从GitHub上删除远程分支。