【文件属性】:
文件名称:git-to-beeminder:在 Beeminder 中跟踪本地 git 提交
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-26 15:51:52
Shell
git-to-beeminder
在 Beeminder 中跟踪本地 git 提交。
此 bash 脚本会提示您提交最新的 git commit 作为目标之一的数据点。 旨在用作本地。
Beeminder 已经有,但我的大部分存储库都没有托管在那里。 该脚本还为您提供了灵活性,例如,针对同一目标计算多个存储库(如果您想在这种情况下澄清提交来自哪个存储库,则可以选择为数据点的消息添加前缀)。
快速开始
假设您还没有post-commit挂钩:
将post-commit.sample复制到你的 repo 的.git/hooks目录
将其重命名为post-commit
填写您的配置值和您克隆此 repo 的路径
使其可执行: chmod +x post-commit
IE:
cp post-commit.sample /path/to/your/repo/.git/hooks/
【文件预览】:
git-to-beeminder-master
----post-commit.sample(209B)
----README.md(1KB)
----git-to-beeminder.sh(1KB)