git项目如何查看代码提交数量

git项目如何查看代码提交数量

git log --since="2018-02-13" --before="2022-01-26" --author="$(git config --get user.name)" --pretty=tformat: --numstat | gawk '{ 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/shangwei/p/14465045.html