. Advertisement .
..3..
. Advertisement .
..4..
I am working on git, but I found the following warning message:
fatal: cannot do a partial commit during a merge.
Is there any way to stabilize the issue “fatal: cannot do a partial commit during a merge”? I read a lot of topics about this, but all of them were trying to install anything. Is this the correct way or any recommendation for me? Please find the beginning command below:
git commit file.php -m "message"
The cause:
You had got this error because you missed “-i” in the commit command.
Solution:
This error will be solved after you add “-i” to the commit command. The ”-i” tells that it have to create additional files before committing. This is:
This worked well for me. This is also possible.