参考:

https://blog.csdn.net/WitheredSkull/article/details/141155881

参考:

git bash 工具(安装git后,右键 git bash here)

git log --since="2024-07-01" --author="maohuidong" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "增加的行数: %s, 删除的行数: %s, 净增加行数: %s\n", add, subs, loc }'

 

 

 

git log --since="2024-01-01" --until="2024-01-01" --author="作者名字" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "增加的行数: %s, 删除的行数: %s, 净增加行数: %s\n", add, subs, loc }'

posted on 2024-09-12 15:44  毛会懂  阅读(404)  评论(0编辑  收藏  举报