Skip to content

Instantly share code, notes, and snippets.

@svenax
Created June 29, 2009 12:56
Show Gist options
  • Save svenax/137606 to your computer and use it in GitHub Desktop.
Save svenax/137606 to your computer and use it in GitHub Desktop.
alias gittoplist='LC_ALL="C"; git log --pretty=format:"%an (%ar)" | awk "{cnt[\$1]++; if (cnt[\$1]==1) line[\$1]=\$0} END {for(i in cnt) {printf \"%5d %s\n\", cnt[i], line[i]}}" | sort -r'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment