git log --author="username" --pretty=tformat: --numstat | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }' -
git统计命令
统计某作者代码行数
猜你喜欢
转载自henghengdh.iteye.com/blog/2210514
今日推荐
周排行