dotfiles/git-author

4 lines
181 B
Text
Raw Normal View History

2014-10-06 16:54:23 +02:00
#! /bin/sh
2014-10-06 16:57:56 +02:00
# greps all authors and presents them in descending commit order
2014-10-06 16:54:23 +02:00
git log --all --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn;