【git 仓库管理】git统计仓库提交代码行数

git bash命令行

git log --since="2021-4-27 00:00:00" --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}'

猜你喜欢

转载自blog.csdn.net/weixin_43500200/article/details/131850676