git log --since="2017-03-01" --before="2019-12-10" --author="$(git config --get matengfei)" --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/matengfei123/p/9939810.html
时间: 2024-10-22 06:38:00