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

版权声明:欢迎转载,但是请附上原文链接! https://blog.csdn.net/zixiao217/article/details/86650021
git log --since="2018-02-13" --before="2019-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 }'
added lines: 47983 removed lines : 16664 total lines: 31319

猜你喜欢

转载自blog.csdn.net/zixiao217/article/details/86650021
今日推荐