How would I count the total number of lines present in all the files in a git repository?
git ls-files gives me a list of files tracked by git.
git ls-files
Try:
find . -type f -name '*.*' -exec wc -l {} +
on the directory/directories in question