Last Updated: March 06, 2019
·
3.138K
· gerberad

"git commit" stats by user

Get the number of commits in a project for each user.

git shortlog -s -n

Add the alias:

git config --global alias.who '!echo "== Commits by Author:\n`git shortlog -s -n`\n"'

Usage:

% git who
== Commits by Author:
   954  John Doe
   224  Jane Doe

1 Response
Add your response

nice

over 1 year ago ·