使用 Go 可视化本地 Git 提交信息

git-local-stats#

使用 Go 可视化本地 Git 提交信息

有 Go 环境#

安装#

go install github.com/git-zjx/git-local-stats

使用#

# 添加需要统计的库的文件夹
git-local-stats add /path/to/folder
# 可视化某一贡献者的数据
git-local-stats stats 977904037@qq.com

无 Go 环境#

安装#

git clone https://github.com/git-zjx/git-local-stats.git

使用#

cd git-local-stats/

# 添加需要统计的库的文件夹
git-local-stats add /path/to/folder # Linux
git-local-stats.exe add /path/to/folder # Windows
# 可视化某一贡献者的数据
git-local-stats stats 977904037@qq.com # Linux
git-local-stats.exe stats 977904037@qq.com # Windows

效果#

stats

源码#

github 地址

zjx