使用 Go 可视化本地 Git 提交信息
go install github.com/git-zjx/git-local-stats
# 添加需要统计的库的文件夹
git-local-stats add /path/to/folder
# 可视化某一贡献者的数据
git-local-stats stats 977904037@qq.com
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
这里这里
大体没有修改,只是改了显示的效果和命令执行的方式