GitHub - evilsocket/gitstats: Git Repository Analyzer.
source link: https://github.com/evilsocket/gitstats
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Git Repository Analyzer
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.
Usage
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 "[email protected], [email protected]"
Example output:
License
gitstats was made with by Simone Margaritelli and it is released under the GPL 3 license.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK