Is there a way to use the global/local commit message template for merge commits ? I have a commit message template that gets used for all the non-merge commits.
I invoke the git merge command as below: git merge --no-ff --edit dev
This brings up the editor with the default git merge message. Would it be possible to populate the editor with the global/local commit message template as in the case of other commits ?
Also, is there a way to do that for the merge commits that happen as part of the git pull operation ? Git pull usually creates merge commits if there is a need and the message put into these merge commits is the default one. I would need my users key in their comments as per the local/global commit message template.
Any thoughts ?