git commit 统计
git log --author="username" --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 }'
posted on 2019-06-27 16:37 Joyfulmath 阅读(250) 评论(0) 编辑 收藏 举报