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

时间:2021-03-01 18:43:54   收藏:0   阅读:363

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\n",add,subs,loc }

 

原文:https://www.cnblogs.com/shangwei/p/14465045.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!