"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
Written by Aaron Gerber
Related protips
1 Response
nice
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#