git查看代码行数

git 查看总行数

git ls-files | xargs cat | wc -l

显示每个文本文件的内容行数和所有文本文件内容总行数

git ls-files | xargs wc -l