列出Git中一个项目的所有开发人员 [英] List all developers on a project in Git

查看:105
本文介绍了列出Git中一个项目的所有开发人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Git中列出为项目贡献的所有用户(已完成提交的用户)?

Is it possible to list all users that contributed to a project (users that have done commits) in Git?

还有其他统计信息吗?

推荐答案

显示所有用户&电子邮件以及CURRENT分支中的提交次数:

To show all users & emails, and the number of commits in the CURRENT branch:

git shortlog --summary --numbered --email

或者简单地:

git shortlog -sne

要显示所有分支中的用户(不仅是当前分支中的用户),您必须添加--all标志:

To show users from all branches (not only the ones in the current branch) you have to add --all flag:

git shortlog -sne --all

这篇关于列出Git中一个项目的所有开发人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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