0%

Git 按提交者进行代码统计

命令:

1
git log --author="<author>" --after="2018-10-01 00:00:00" --before="2018-01-31 23:59:59" --stat --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 }' -

欢迎关注我的其它发布渠道