1.在git的使用过程中突然报错
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution, or use 'git commit -a'.
2.git命令
先
git reset --hard FETCH_HEAD
然后
git pull
本文介绍了如何解决在使用Git过程中遇到的“Pull is not possible because you have unmerged files”错误。通过使用git reset --hard FETCH_HEAD命令回退到最近的拉取状态,然后再尝试使用git pull更新代码。

被折叠的 条评论
为什么被折叠?



