Git 统计某作者代码量
REFER:SO
git log --author="_Your_Name_Here_" --pretty=tformat: --numstat \ | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }' -
REFER:SO
git log --author="_Your_Name_Here_" --pretty=tformat: --numstat \ | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }' -