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
This works as of cloc 1.68:
cloc --vcs=git