Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Avinash Dalvi aviboy2006

🏠
Working from home
View GitHub Profile
@aviboy2006
aviboy2006 / Count lines in Git repo
Created Aug 11, 2020 — forked from mandiwise/Count lines in Git repo
A command to calculate lines of code in all tracked files in a Git repo
View Count lines in Git repo
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository
$ git ls-files | xargs wc -l