Life, half is memory, half is to continue.
git报错:Pull is not possible because you have unmerged files解决方法
By Vincent. @2018.4.1
git报错:Pull is not possible because you have unmerged files解决方法

1.将本地的冲突文件冲掉,不仅需要reset到MERGE-HEAD或者HEAD,还需要–hard。没有后面的hard,不会冲掉本地工作区。只会冲掉stage区。

git reset –hard FETCH_HEAD

2.git pull就会成功。

扫码分享收藏
扫码分享收藏