将提交推送到远程源会显示警告消息:
remote: Pull is not possible because you have unmerged files.
remote: Please, fix them up in the work tree, and then use 'git add/rm <file>'
remote: as appropriate to mark resolution, or use 'git commit -a'.
推送成功。没有未合并的文件,并且远程分支是最新的。所有提交都是准确的。每次后续推送都会出现推送警告消息。
我尝试在消息发生之前重置为提交,强制推送,恢复提交并推送更改。我还尝试重新克隆存储库。每次推送时仍会出现该消息。推送是从主控到远程源主控。