Skip to content

Instantly share code, notes, and snippets.

@hoffination
Created July 13, 2017 23:07
Show Gist options
  • Save hoffination/d6e4c21b6edf96b9a9338d02d459b4bf to your computer and use it in GitHub Desktop.
Save hoffination/d6e4c21b6edf96b9a9338d02d459b4bf to your computer and use it in GitHub Desktop.
line counter
git ls-files | egrep -v /assets/ | egrep -v *.jpg | egrep -v *.html | egrep -v *.xml | egrep -v *.text | egrep -v *.md | egrep -v *.iml | egrep -v *.name | xargs wc -l
http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository
@hoffination
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment