[英]Github.: Trying to delete master branch gives error "! [remote rejected] master (branch master is being renamed)"
I renamed the master branch to develop and in github I can see the develop branch.我将主分支重命名为开发,在 github 中我可以看到开发分支。 When I tried to delete the master from UI I cant see the master in branches list.当我试图从 UI 中删除主人时,我在分支列表中看不到主人。 I tried using CLI and keep getting ! [remote rejected] master (branch master is being renamed)
我尝试使用 CLI 并不断获得! [remote rejected] master (branch master is being renamed)
! [remote rejected] master (branch master is being renamed)
error. ! [remote rejected] master (branch master is being renamed)
错误。
Well.. Github had to cancel the operation from backend of renaming a branch.. then I was able to delete master and rename another branch as master from Github UI.好吧.. Github 不得不从后端取消重命名分支的操作.. 然后我能够从 Github UI 中删除 master 并将另一个分支重命名为 master。 the issue is similar as one faced by Cpython community -> https://github.community/t/python-cpython-zombie-master-branch/206066该问题与 Cpython 社区所面临的问题类似-> https://github.community/t/python-cpython-zombie-master-branch/206066
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.