git .git目录提交_如何在git中获得最高提交者?

git .git目录提交

How to get the top committers in git? Like in github:

如何在git中获得最高提交者? 像在github中一样:

top git commiters

But plain text is fine showing number of commits and author names/emails sorted by the number of commits.

但是,纯文本可以显示提交次数以及按提交次数排序的作者姓名/电子邮件。

You may use this command:

您可以使用以下命令

git log | grep Author | sort | uniq -c | sort -n -r

Here, count the number of commits by names/emails and show from the authors with highest number of commits.

在此,按名称/电子邮件计数提交次数,并从提交次数最高的作者那里查看。

Example output will be like

示例输出将像

247 Author: Paul Phillips <paulp@improving.org>
 45 Author: Dale Wijnand <dale.wijnand@gmail.com>
 12 Author: Yamashita Yuu <yamashita@geishatokyo.com>
 10 Author: Gilles Cornu <git@gilles.cornu.name>
  8 Author: Josh Suereth <joshua.suereth@gmail.com>
  5 Author: Mark Canlas <github@htmlism.com>
  3 Author: Paul Phillips <paulp@users.noreply.github.com>
  2 Author: Jason Zaugg <jzaugg@gmail.com>
  2 Author: Channing Walton <channingwalton@mac.com>
  1 Author: William Ho <wwwilliamho@gmail.com>
  1 Author: Viktor Hedefalk <hedefalk@gmail.com>
  1 Author: Tymon Tobolski <i@teamon.eu>
  1 Author: Stefan Zeiger <szeiger@novocode.com>
  1 Author: Seyi Ogunyemi <micrypt@gmail.com>
  1 Author: Rocky Madden <git@rockymadden.com>

翻译自: https://www.systutorials.com/how-to-get-the-top-committers-in-git/

git .git目录提交

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值