Skip to content

Instantly share code, notes, and snippets.

@fraga
Last active January 5, 2018 15:34
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fraga/5167236 to your computer and use it in GitHub Desktop.
Save fraga/5167236 to your computer and use it in GitHub Desktop.
Git command to count all commits per user on a repo
git log --pretty=format:"%an"| env LC_ALL=C sort| env LC_ALL=C uniq -c| env LC_ALL=C sort -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment