gitolite 可以管理 git commit-msg 钩子吗?

Can gitolite manage git commit-msg hook?

我一直在努力寻找一种方法让 gitolite 管理 git commit-msg 挂钩并将其传播到特定的存储库,但我没有成功。这可能吗?

一个git commit-msg hook是一个客户端挂钩

gitolite 在服务器端处理授权验证
因此,它没有管理诸如 commit-msg.

之类的 lcient 端挂钩的职责。

The hooks that you can add in gitolite are update hooks (a server side hook), 或 post-接收挂钩。任何客户端挂钩都将被忽略(如从未触发)