Skip to content

Instantly share code, notes, and snippets.

@jorge-autogravity
Last active November 27, 2017 19:59
Show Gist options
  • Save jorge-autogravity/40f5f380f6774e5bbef6175e31caf896 to your computer and use it in GitHub Desktop.
Save jorge-autogravity/40f5f380f6774e5bbef6175e31caf896 to your computer and use it in GitHub Desktop.
git repo line count
# git repo line count
git ls-files | xargs wc -l

# git repo line count filtering out PNGs
git ls-files **\*[^.png] | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment