您的位置:首页 > 其它

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

2013-12-09 22:24 375 查看
git pull 时 往往会遇到各种各样的问题 ,下面是常遇到的一种状况Updating 7c9e086..936acacerror: The following untracked working tree files would be overwritten by merge:Common/HFHttpRequest/HFHttpRequestParameters.hCommon/HFHttpRequest/HFHttpRequestParameters.mPlease move or remove them before you can merge.Aborting解决方案 其实很简单:
git clean  -d  -fx ""
其中 
x  -----删除忽略文件已经对git来说不识别的文件
d  -----删除未被添加到git的路径中的文件
f  -----强制运行

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐