I'm in the middle of a git merge --squash --no-commit
operation. Some files were successfully merged by git, while some other files are indicated as "both modified" (unmerged changes).
I want to commit everything that git was able to merge (including partial changes inside conflicting files), thus leaving only the actual "conflicting sections" to be dealt with later, in a different commit.
Note that if I simply call git commit
I receive:
error: commit is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.