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

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

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

2.解决办法:

在控制台Terminal输入:

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

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

其中:

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

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

-f -----强制运行

上一篇:拆解*之XRecyclerView


下一篇:程序员的浪漫-桃心表白