List all developers on a project in Git

后端 未结 9 2084
半阙折子戏
半阙折子戏 2020-12-07 08:25

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

Any additional statistics?

相关标签:
9条回答
  • 2020-12-07 09:01

    You can try an amazing pack called git-extras. Specifically, the commands git-summary, git-count and maybe some other.

    0 讨论(0)
  • 2020-12-07 09:02

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

    git shortlog --summary --numbered --email
    

    Or simply:

    git shortlog -sne
    

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

    git shortlog -sne --all
    
    0 讨论(0)
  • 2020-12-07 09:02

    You can try this:

    git log | grep Author: | sort | uniq
    
    0 讨论(0)
提交回复
热议问题