赞
踩
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 }' -
git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --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
git log --oneline | wc -l
git log --author="用户名" --oneline | wc -l
git shortlog -s -n
git log --author="用户名" --since="2014-07-01" --oneline | wc -l
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。