Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.