Inspired by x0rz's tweets analyzer, gitstats
is a simple tool which goal is to perform commits activity analysis on git repositories and visualizing statistics such as as:
- Per user activity distribution.
- Daily commits distribution (per hour).
- Weekly commits distribution (by day).
- Monthly commits distribution.
- Yearly commits distribution.
- Words distribution in commits logs.
You can download precompiled releases of gitstats here, if instead you want to build it from source, make sure you have Go >= 1.8 installed and configured, then clone this repository, install the dependencies and compile:
git clone https://github.com/evilsocket/gitstats $GOPATH/src/github.com/evilsocket/gitstats
cd $GOPATH/src/github.com/evilsocket/gitstats
make vendor_get
make
To use gitstats
simply:
/path/to/gitstats -repo /path/to/repo
Or filtering by author:
/path/to/gitstats -repo /path/to/repo -authors "some@one.com, some.one@else.ru"
Example output:
gitstats was made with ♥ by Simone Margaritelli and it is released under the GPL 3 license.