1
I want to test some software metrics and I need to go through a git repository, but I need to do this using the git commands themselves, for example git log, git show...
One of the metrics I want to know is the number of lines you have in a project disregarding comments, Imports, etc. For that, I need to go through all the project classes.
In accordance with that question, you can with
git ls-files | xargs cat | wc -l
, which is a solution based on external tools. With Git only I don’t think it will be possible.– Woss