git查看commit提交次数
git log --author=仓库用户名 --since="起始时间比如:2019-01-01" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l
统计代码量
git log --author="仓库用户名" --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 }' -
网友评论