代码提交量查询

git log --author="user.name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s ", add, subs, loc }' -

原文地址:https://www.cnblogs.com/lipu12281/p/14014609.html