Change git merge commit message

how can I change the git merge commit message?

I recently updated my IDE (PHPStorm) and before merge commit messages where always like

"Merge remote tracking branch 'origin/master' into myFeature"
and now its like

"Merge branch 'origin/master'"

So I now have less information, which I liked before. How to change that back?

Comment actions Permalink

Hi Sebastian,

AFAIR, this message is generated by Git itself, not by the IDE, isn't it? You can check it by performing merge in the command line.

Comment actions Permalink

Hi Kirill,

thanks for your answer. I did set

merge.branchdesc = true

in my git config, now it's working as before.


Please sign in to leave a comment.