查看当天提交的代码行数
git log --author="你的名字" --since=2022-06-13 --until=2022-06-14 --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-06-13 --until=2022-06-14 --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 }' -;