Created
January 5, 2013 11:08
-
Star
(286)
You must be signed in to star a gist -
Fork
(34)
You must be signed in to fork a gist
-
-
Save amitchhajer/4461043 to your computer and use it in GitHub Desktop.
Count number of code lines in git repository per user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |
this is exactly what i was looking for :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here's my one-liner:
or with line breaks:
usage possible four folder(s) of your choice.
option -f to show per file, otherwise totals only: