git代码统计
- 某人/某日到某日/行数
git log --author="晴天" --since=2022-04-01 --until=2022-04-24 --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }'
git log --author="晴天" --since=2022-04-01 --until=2022-04-24 --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }'
本文标题:git代码统计
本文链接:https://www.haomeiwen.com/subject/vartyrtx.html
网友评论