Count the total lines of code in your git repository

Sometimes it might be cool to see the total lines committed in your projects. I find it a handy way to collect data on a daily basis to create pretty graphs to measure the rate of my progress. A combination of a git command along with some unix commands cant get you what you want.

git ls-files | xargs cat | wc -l

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *