git 统计个人提交代码行数

git log --author="user" --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 }' -
added lines: , removed lines: , total lines:

posted @ 2024-06-13 11:30  slark_yuxj  阅读(40)  评论(0编辑  收藏  举报