how can I customize git’s merge commit message?

I’m aware this isn’t answering the original question, but for the benefit of git noobs like myself who reach this page because it’s currently the first Google result for “git change merge commit message”, I’ll mention that it is possible to:

git commit --amend -m"New commit message"

to change the commit message of a merge commit without losing the link to any of the parents of the merge commit.

Leave a Comment