显示每个作者在git中更改的行数 [英] Show number of changed lines per author in git

查看:206
本文介绍了显示每个作者在git中更改的行数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看看删除/添加行的数量,按照作者分组的git历史中的给定分支。有 git shortlog -s ,它显示了每个作者的提交数量。有没有什么类似于得到一个整体diffstat?

解决方案

这是一个旧的帖子,但如果有人仍在寻找它: p>

安装git extras

  brew install git-extras 

然后

  git摘要 - 行

https://github.com/tj/git-extras


i want to see the number of removed/added line, grouped by author for a given branch in git history. there is git shortlog -s which shows me the number of commits per author. is there anything similar to get an overall diffstat?

解决方案

It's an old post but if someone is still looking for it:

install git extras

brew install git-extras

then

git summary --line

https://github.com/tj/git-extras

这篇关于显示每个作者在git中更改的行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆