git-partial-hooks:将 git hooks 拆分成多个文件

时间:2021-07-10 17:47:06
【文件属性】:
文件名称:git-partial-hooks:将 git hooks 拆分成多个文件
文件大小:13KB
文件格式:ZIP
更新时间:2021-07-10 17:47:06
Shell git-部分钩子 git partial hooks 实现将允许您在文件中分离多个 git hooks。 只需将您的预提交挂钩放在 pre-commit.d 中,它们将在预提交时执行。 这将使您更容易重用 git 钩子。 你可以 fork 这个仓库并添加你自己的自定义钩子。
【文件预览】:
git-partial-hooks-master
----pre-push(17B)
----pre-commit.d()
--------pre-commit.sample(2KB)
----pre-rebase(17B)
----commit-msg(17B)
----pre-commit(17B)
----prepare-commit-msg.d()
--------prepare-commit-msg.sample(1KB)
----pre-applypatch(17B)
----post-update(17B)
----applypatch-msg(17B)
----execute-scripts(214B)
----LICENSE(1KB)
----post-update.d()
--------post-update.sample(189B)
----prepare-commit-msg(17B)
----README.md(337B)
----commit-msg.d()
--------commit-msg.sample(896B)
----pre-push.d()
--------pre-push.sample(1KB)
----update.d()
--------update.sample(4KB)
----pre-rebase.d()
--------pre-rebase.sample(5KB)
----pre-applypatch.d()
--------pre-applypatch.sample(398B)
----update(17B)
----applypatch-msg.d()
--------applypatch-msg.sample(452B)

网友评论