1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| $ git shortlog -s --author 'Author Name'
$ git shortlog -s -n
$ git shortlog -n --author 'Author Name'
git log --since="1 year ago" | fgrep Author | sort | uniq -c | sort -n -r | sed -e 's,Author: ,,' | head -n5
git log --since="1 year ago" | fgrep Author | sed -e 's, <.*>,,' | sort | uniq -c | sort -n -r | sed -e 's,Author: ,,' | head -n5
git log master | fgrep Author | sed -e 's, <.*>,,' | sort | uniq -c | sort -n -r | sed -e 's,Author: ,,' | head -n5
git log --author=mystic --pretty=tformat: --numstat | gawk -v red='\033[01;31m' -v green='\033[01;32m' -v blue='\033[01;34m' '{ add += $1; subs += $2; loc += $1 - $2 } END { printf green"Added Lines: +++%s\n"red"Removed Lines: ---%s\n" blue"Total Lines: ===%s\n", add, subs, loc }'
|