Git error on commit after merge - fatal: cannot do a partial commit during a merge

前端 未结 18 1519
长情又很酷
长情又很酷 2020-12-07 07:15

I ran a git pull that ended in a conflict. I resolved the conflict and everything is fine now (I used mergetool also).

When I commit the resolved file

18条回答
  •  青春惊慌失措
    2020-12-07 07:25

    Your merge stopped in the middle of the action. You should add your files, and then 'git commit':

    git add file_1.php file_2.php file_3.php git commit

    Cheers

提交回复
热议问题