count lines in github repo code example
Example 1: count lines of code in github repo
git ls-files | xargs wc -l
Example 2: Count number of lines in Git repo
cloc $(git ls-files)
git ls-files | xargs wc -l
cloc $(git ls-files)