sourceTree 切换分支时报错:The following untracked working tree files would be overwritten ...

sourceTree 切换分支时报错:The following untracked working tree files would be overwritten .....    解决方法,执行命令:git clean -d -fxgit

表示删除 一些 没有 git add 的 文件;it

    git clean 参数 file

    -n 显示将要删除的文件和目录;方法

    -x -----删除忽略文件已经对git来讲不识别的文件文件

    -d -----删除未被添加到git的路径中的文件参数

    -f -----强制运行分支

相关文章
相关标签/搜索