List all contributions grouped by author name
suggest changegit shortlog summarizes git log and groups by author
With no options, commits are grouped by author. Authors are alphabetical. Each author’s commits stay in chronological order. The example labels below say “Committer”, but the default grouping is the author, not the committer.
$ git shortlog
Committer 1 (<number_of_commits>):
Commit Message 1
Commit Message 2
...
Committer 2 (<number_of_commits>):
Commit Message 1
Commit Message 2
...
To see the number of commits and suppress the commit description, use the summary option:
-s
--summary
$ git shortlog -s
<number_of_commits> Committer 1
<number_of_commits> Committer 2
To sort the output by number of commits instead of alphabetically by committer name, pass in the numbered option:
-n
--numbered
To add the email of a committer, add the email option:
-e
--email
A custom format option can also be provided if you want to display information other than the commit subject:
--format
This can be any string accepted by the --format option of git log.
See Colorize logs for more on log formatting.