計算程式行數 - jenhaoyang/backend_blog GitHub Wiki

git ls-files *.java *.xml | xargs wc -l

參考:
https://gitlab.com/gitlab-org/gitlab/-/issues/17800