Difference between revisions of "A couple tricks for stats"
From Yade
(Created page with " Number of lines per author in current HEAD (from [http://stackoverflow.com/questions/1265040/how-to-count-total-lines-changed-by-a-specific-author-in-a-git-repository stackov...") |
|||
Line 3: | Line 3: | ||
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*?\((.*?)\s+[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*?\((.*?)\s+[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |
||
+ | |||
+ | Number of commits per author (all times): |
||
+ | |||
+ | git shortlog -sne |
Revision as of 09:26, 24 April 2013
Number of lines per author in current HEAD (from stackoverflow):
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*?\((.*?)\s+[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n
Number of commits per author (all times):
git shortlog -sne