Simply execute the bash script in a Git folder, to have a summary of statistics per author.
$ git-stats.sh
git-stats.sh: do statistics on this git repository.
From https://github.com/Naereen/git-stats/.
Number of commits per author:
- 33 : Superman
- 4 : Batman
Statistics for: Superman
------------------------
- Number of files changed: 31
- Number of lines added: 5144
- Number of lines deleted: 972
- Number of merges: 0
Statistics for: Batman
----------------------
- Number of files changed: 9
- Number of lines added: 374
- Number of lines deleted: 3
- Number of merges: 0
Clone the repository, copy the script (git-stats) somewhere in your PATH (e.g., ~/.local/bin/
):
$ wget https://raw.githubusercontent.com/Naereen/git-stats/master/git-stats
$ cp git-stats /path/to/a/directory/in/your/PATH/
Published under the terms of the MIT license (file LICENSE). © Lilian Besson, 2016.