Win十、git、python2.七、gitstats (https://github.com/hoxu/gitstats)、Gnuplot(https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.6/)html
1.安裝如上的軟件python
2.git clone gitstats後,找到gitstats文件將其後綴設置爲.py。git
3.進入到git的bin目錄,運行sh.exe,執行 cd ...,退到根目錄。打開目錄中的cmdgithub
4.在控制檯中進入到須要統計的git項目目錄,執行 python2.7
python 目錄/gitstats.py . stats.net
stats目錄生成後,打開其中的index.htmlhtm