解决git冲突造成的Please move or remove them before you can merge

时间:2023-03-09 18:18:00
解决git冲突造成的Please move or remove them before you can merge

git clean -d -fx “”

其中
x —–删除忽略文件已经对git来说不识别的文件
d —–删除未被添加到git的路径中的文件
f —–强制运行
如果你确定这货已经没用了,并且git status 也找不到它的影子,则:
git clean -d -fx application/mobile/view/Statis/index.htm

================================================================

按照以上方法可以解决问题,但是导致了另一个问题,idea工程里配置文件被干掉了,导致不显示项目目录

重新导入Modules即可

https://jingyan.baidu.com/article/86fae346ec143d3c49121a8e.html