git Please move or remove them before you can merg

原创
2015/06/12 10:04
阅读数 2.5K

git Please move or remove them before you can merge. 错误解决方案

git pull 时 往往会遇到各种各样的问题 ,下面是常遇到的一种状况

Please move or remove them before you can merge.

Aborting


解决方案 其实很简单

:

git clean  -d  -fx ""
其中
x  -----删除忽略文件已经对git来说不识别的文件
d  -----删除未被添加到git的路径中的文件
f  -----强制运行
展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部