vscode 切换分支时报错:The following untracked working tree files would be overwritten .....
Posted rong88
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vscode 切换分支时报错:The following untracked working tree files would be overwritten .....相关的知识,希望对你有一定的参考价值。
执行命令:git clean -d -fx
表示删除 一些 没有 git add 的 文件;
git clean 参数
-n 显示将要删除的文件和目录;
-x -----删除忽略文件已经对git来说不识别的文件
-d -----删除未被添加到git的路径中的文件
-f -----强制运行
以上是关于vscode 切换分支时报错:The following untracked working tree files would be overwritten .....的主要内容,如果未能解决你的问题,请参考以下文章