使用 gitstats 來統計代碼

使用 gitstats 來統計代碼

github地址以下python

gitstatsgit

clone地址github

git clone https://github.com/hoxu/gitstats && cd $_

好比個人項目地址爲 /Users/username/project
生成的地址爲 /Users/username/project-git-resultpython2.7

gitstats /Users/username/project  /Users/username/project-git-result

可能會提示(個人爲 mac os)code

env: python2: No such file or directory

能夠進行 python2 的連接get

sudo ln -sf /usr/bin/python2.7 /usr/local/bin/python2

若是沒有安裝 gunplot, 須要進行安裝it

brew install gnuplot

而後執行剛纔的 gitstats 命令便可file

相關文章
相關標籤/搜索