【发布时间】:2011-02-17 07:07:36
【问题描述】:
我正在尝试查找用户在 git 存储库中添加的总行数和删除的总行数。我查看了How to count total lines changed by a specific author in a Git repository?,它有命令git log --author="<authorname>" --pretty=tformat: --numstat,但答案没有给出一个脚本(无论多么简单)来改变总行数。总结添加/删除的行的最简单方法是什么?
【问题讨论】: