git pull出现错误

error: untracked files would be overwritten by merge
可以执行下面的命令修复:


git reset --hard HEAD    
git clean -f -d    
git pull  

参考http://blog.chinaunix.net/uid-10415985-id-4142896.html

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐