Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A command to calculate lines of code in all tracked files in a Git repo
// Reference:
$ git ls-files | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment