Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make git merge include summary of each commit?

Tags:

git

For example, I'd like that any time I run git merge the merge commit message will include a summary of each commit, not just the "merged branch" message.

Is it possible to configure this?

like image 679
trusktr Avatar asked Dec 24 '22 19:12

trusktr


1 Answers

As described in the git merge documentation (way down in the CONFIGURATION section):

merge.log

    In addition to branch names, populate the log message with at most the specified number of one-line descriptions from the actual commits that are being merged. Defaults to false, and true is a synonym for 20.
like image 113
torek Avatar answered Dec 26 '22 10:12

torek