码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-07-14 14:51:22      阅读:1215      评论:0      收藏:0      [点我收藏+]

标签:运行   rom   文件   强制运行   .com   can   技术   view   src   

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

标签:运行   rom   文件   强制运行   .com   can   技术   view   src   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!