Skip to content

Instantly share code, notes, and snippets.

@brianjlandau
Created August 26, 2015 23:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
One way to get a list of authors who worked on a specific directory and how many commits they contributed.
git log --pretty=%an your/path | awk -F, '{++freq[$1];}END{for (author in freq)printf "%s\t%d\n", author, freq[author];}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment