Skip to content

Instantly share code, notes, and snippets.

View fobidlim's full-sized avatar
🇰🇷

Sungtae 'James' Lim fobidlim

🇰🇷
View GitHub Profile
@fobidlim
fobidlim / Count lines in Git repo
Created January 29, 2021 01:17 — forked from mandiwise/Count lines in Git repo
A command to calculate lines of code in all tracked files in a Git repo
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository
$ git ls-files | xargs wc -l