Git提交remote有冲突,删掉后再commit,pull的时候报错


You have not concluded your merge (MERGE_HEAD exists).
Please, commit your changes before you can merge.

git commit了本地代码,然后pull的时候,提示有三个文件conflict,直接把那三个文件移除,再pull后列出了需要对比的代码,把其中的冲突文件对比好后,再pull,xcodeproject挂掉了。打不开,直接discard all changed恢复。然后再commit,再pull,出现了上面英文的错误,再有同步不了代码,求救!

xcode git

战斗力只有五 10 years, 11 months ago

 rm .git/MERGE_HEAD

長門有希ㅤ answered 10 years, 11 months ago

Your Answer