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 .....的主要内容,如果未能解决你的问题,请参考以下文章

Error:svn: E160013 svn主干切换分支时报错

Git切换分支时报错:you need to resolve your current index first

error: Your local changes to the following files would be overwritten by checkout:

Oracle游标,在判断时报PLS-00103:Encountered the symbol "=" when expecting one of the following

sbt assembly编译打包时报: deduplicate: different file contents found in the following:

The following untracked working tree files would be overwritten by checkout