git log --since=11.days --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --since=11.days --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 }' -; done
统计自己写的代码量命令
猜你喜欢
转载自www.cnblogs.com/zhf123/p/12114247.html
今日推荐
周排行