List all developers on a project in Git

后端 未结 9 2103
半阙折子戏
半阙折子戏 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 08:49

    I haven't got around to testing it myself yet, but this looks really nice for project statistics for a Git repository: https://github.com/visionmedia/git-extras

    Check out the bin catalog to see the the different scripts.

    For example, the git-count script (commit count per committer):

    git shortlog -n $@ | grep "):" | sed 's|:||'
    

提交回复
热议问题