Last active
August 29, 2015 14:08
-
-
Save avinashkoyyana/36113d1017b9a9b0513d to your computer and use it in GitHub Desktop.
count no of lines in a git repository
This file contains 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 diff --stat `git hash-object -t tree /dev/null` | |
wc -l $(git ls-files | grep '.*\.cs') | |
/*source : http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment