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

浏览:70日期:2023-10-31

问题描述

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,出现了上面英文的错误,再有同步不了代码,求救!

问题解答

回答1:

rm .git/MERGE_HEAD

相关文章: