Skip to content

Instantly share code, notes, and snippets.

@Victa
Created December 7, 2012 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Victa/4234257 to your computer and use it in GitHub Desktop.
Save Victa/4234257 to your computer and use it in GitHub Desktop.
Showing Git Commit Counts
# Show total number of commits in the current repository
git shortlog | grep -E '^[ ]+\w+' | wc -l
# Show number of commits by developer
git shortlog -s -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment