美文网首页
The following untracked working

The following untracked working

作者: plum_meizi | 来源:发表于2020-04-01 15:40 被阅读0次

切换分支的时候,报错The following untracked working tree files would be overwritten by checkout:
工作树中的缓存文件没有清理导致的,大小写改变,因为编辑器不识别大小写,切换分支就会报错
解决办法就是把编辑器设置大小写忽略

git config core.ignorecase true

然后切换分支 切换成功后再改回原配置

git config core.ignorecase false

相关文章

网友评论

      本文标题:The following untracked working

      本文链接:https://www.haomeiwen.com/subject/ufmxphtx.html