Quickly get the impact of an author on a repo by adding a git alias
Add this to your bin directory where git is located (/usr/bin) Then run git impact or git impact "The username here"
to display stats like
+ 8247
- 658
= 7589
#!/bin/bash
AUTHOR="Ludovic Fleury"
if [[ -z "$1" ]]
then
AUTHOR=$1
fi
git log --author="$1" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "+ %s\n- %s\n= %s\n", add, subs, loc }' -