Skip to content

Instantly share code, notes, and snippets.

@emersion
Created June 15, 2014 12:07
Show Gist options
  • Save emersion/59cb38456a054aeab0f1 to your computer and use it in GitHub Desktop.
Save emersion/59cb38456a054aeab0f1 to your computer and use it in GitHub Desktop.
List contributors of a repo
#/bin/bash
git log --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn | cut -d\ -f2-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment