REFER:
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 }' -
本文共 281 字,大约阅读时间需要 1 分钟。
REFER:
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 }' -
转载于:https://www.cnblogs.com/invisible/archive/2013/04/14/3020763.html