Created
July 7, 2012 17:22
-
-
Save bonifaido/3067251 to your computer and use it in GitHub Desktop.
git - counting the number of source lines
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
# Change the regex group to your programming language's extensions | |
git ls-files | egrep '\.(h|cpp)$' | xargs cat | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment