有时候在提交 git commit 的时候会粗线 MERGE_HEAD
冲突:
error: You have not concluded your merge (MERGE_HEAD exists).
hint: Please, commit your changes before merging.
fatal: Exiting because of unfinished merge.
基本上,使用保留本地修改的方式就可以解决这个冲突:
git merge --abort
git reset --merge
git pull
网友评论