Created
March 22, 2017 10:25
-
-
Save tpb1908/703b388cccc6c38bee0052202f69d77c to your computer and use it in GitHub Desktop.
Count repo LOC in bash
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 | xargs wc -l //Everything | |
git ls-files | grep "\.my_file_type$" | xargs wc -l //A particular file type | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment