古城热线 发表于 2018-9-16 13:54:14

git 代码量统计

  使用 git bash , 进入项目根目录
  git log --author="your_id" --pretty=tformat: --numstat | gawk '{ add += $1; subs += $2; loc += $1 + $2 } END { printf "added lines: %s removed lines: %s total lines: %s\n", add, subs, loc }' -

页: [1]
查看完整版本: git 代码量统计