After doing a merge from the origin/base branch into my feature branch, I had to resolve one conflict on the file Parameter.java. I launched my Git merge tool and I resolved it. Once it was resolved, I performed a git commit and this opened Vim with the default merge commit message.
Thing is, this default commit message contains the list of conflicts, but starting with #, therefore they will be ignored in the commit message.
Merge remote-tracking branch 'origin/base' into feature # Conflicts: # Parameter.java # # It looks like you may be committing a merge. # If this is not correct, please remove the file # .git/MERGE_HEAD # and try again. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch feature # All conflicts fixed but you are still merging. # # Changes to be committed: # modified: Parameters.java # modified: SpecialParameters.java # modified: Traveller.java Is there some config to add to put these conflicts lines automatically in the commit message? Therefore removing the # on the conflicting files in the Conflicts part?