Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to count total lines of code of a github repo

To search total line count by file type:

git ls-files | grep '.py' | xargs wc -l
 
PREVIOUS NEXT
Tagged: #count #total #lines #code #github #repo
ADD COMMENT
Topic
Name
8+9 =