Skip to content

Instantly share code, notes, and snippets.

@bondarewicz
Created September 27, 2017 09:31
Show Gist options
  • Save bondarewicz/486513138bef53f5966ad9453a420ccb to your computer and use it in GitHub Desktop.
Save bondarewicz/486513138bef53f5966ad9453a420ccb to your computer and use it in GitHub Desktop.
Count number of lines in a git repository
git ls-files | xargs cat | wc -l
to see breakdown use
git ls-files | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment