解决Git报错: error: You have not concluded your merge (MERGE_HEAD exists).
解决Git报错:
error: You have not concluded your merge (MERGE_HEAD exists). (你还没有完成合并(MERGE_HEAD存在))
展开
解决办法一:保留本地的更改,中止合并->重新合并->重新拉取
$:git merge --abort (取消合并)
$:git reset --merge (重新合并)
$:git pull (重新拉取)
解决办法二:舍弃本地代码,远端版本覆盖本地版本(慎重)
$:git fetch --all //重新拉取
$:git reset --hard origin/master //git reset --hard将master回退至origin/master,并忽略所有新提交
$:git fetch
————————————————
版权声明:本文为CSDN博主「zb0002011」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/zb0002011/article/details/105674411

浙公网安备 33010602011771号