Git- Fatal: cannot do a partial commit during a merge

After chopping hands, the fraud call came before the express delivery was received. How to improve the privacy and security of e-commerce>>>

This error occurs when submitting a single file. It means that the code cannot be partially submitted

The reason is that git thinks that some of your code is not ready for submission, such as not adding

The solution is

1. Submit all git commit – A

2. If you don’t want to submit all of them, you can add the – I option git commit file/to/path – I – M merge

In addition:

git status // look at the status in git, which files are in conflict, etc.

git show | head // view who and date the commit entered

Similar Posts: