600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > 删远端分支报错remote refs do not exist或git: refusing to delete the current branch解决方法

删远端分支报错remote refs do not exist或git: refusing to delete the current branch解决方法

时间:2022-01-06 11:02:00

相关推荐

删远端分支报错remote refs do not exist或git: refusing to delete the current branch解决方法

先输入: 在git 命令行终端输入 git fetch -p origin

查看所有分支: git branch -a

然后删除: git push origin -d xxxx

如果报错:git: refusing to delete the current branch

并且当前分支!=删除分支

则时git默认分支==删除分支,导致其一致被占用状态,无法删除,

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。