首页 > Windows开发 > 详细

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

时间:2019-02-15 11:01:34      阅读:469      评论:0      收藏:0      [点我收藏+]

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

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

    git clean 参数 

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

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

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

    -f -----强制运行

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

原文:https://www.cnblogs.com/cui-cui/p/10382282.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!