sourceTree 切换分支时报错:The following untracked working tree files would be overwritten ...
时间:2019-02-15 11:01:34
收藏:0
阅读:473
sourceTree 切换分支时报错:The following untracked working tree files would be overwritten ..... 解决方法,执行命令:git clean -d -fx
表示删除 一些 没有 git add 的 文件;
git clean 参数
-n 显示将要删除的文件和目录;
-x -----删除忽略文件已经对git来说不识别的文件
-d -----删除未被添加到git的路径中的文件
-f -----强制运行
原文:https://www.cnblogs.com/cui-cui/p/10382282.html
评论(0)