git 代码量统计
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 }‘ -
以上是关于git 代码量统计的主要内容,如果未能解决你的问题,请参考以下文章