跳至主要內容

Git统计项目代码行数

PaperDragon...小于 1 分钟

Git统计项目代码行数

只统计项目代码的总行数

git ls-files | xargs cat | wc -l

只查看项目文件列表

git ls-files

统计python代码的行数

git ls-files | grep '.*\.py' | xargs cat | wc -l
你认为这篇文章怎么样?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v3.1.3