git log --since=“2021-09-01” --before="2021-09-06” --author="123333” --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 }’
since=“2021-09-01” ------ 开始时间
before="2021-09-06” -------- 结束时间
author="名字” -------- 用户