1、统计某人提交次数
git log --author=zhouguanghao --since="2020-12-02" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l
2、统计某人代码提交量
git log --author=zhouguanghao --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -