dotfiles/.local/bin/git-author

6 lines
282 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;
2016-12-07 17:01:55 +01:00
#git log --all --format='%aN' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn;