当前位置:   article > 正文

删除分支 错误error: Cannot delete branch 'xxx' checked out at 'D:/xx'_git删除 分支报错 error cannot delete branch change-

git删除 分支报错 error cannot delete branch change-

error: Cannot delete branch 'xxx' checked out

解决办法:

此错误是在git删除分支时报的错误,删除分支时,当前分支不能停留在要删除的分支上,要切换到其他任意分支,再去删除目标分支。参考:git删除本地分支 git删除远程分支

 

参考:https://blog.csdn.net/weixin_39800144/article/details/101014488

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/460021
推荐阅读
相关标签
  

闽ICP备14008679号