首页 > 其他 > 详细

Some untracked working tree files would be overwritten by checkout. Please move or remove them before you can checkout. View them

时间:2018-07-14 13:57:28      阅读:325      评论:0      收藏:0      [点我收藏+]

Some untracked working tree files would be overwritten by checkout.
Please move or remove them before you can checkout. View them

 

1.webStrom报错类型:

Some untracked working tree files would be overwritten by checkout.
Please move or remove them before you can checkout. View them

技术分享图片

 

 2.解决办法:

在控制台Terminal输入:

技术分享图片

Git clean -d -fx  "报错的文件或文件夹"

其中:

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

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

-f -----强制运行

 

Some untracked working tree files would be overwritten by checkout. Please move or remove them before you can checkout. View them

原文:https://www.cnblogs.com/Michelle20180227/p/9309375.html

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