Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当有人推送到托管在 gitblit 上的 git 存储库时,如何拒绝修订?我只在实际推送时才想要它,而不是本地钩子,(我可以通过添加本地 git pre-commit 钩子来实现)
有两种方法:groovy push hook(示例)或自定义插件(示例)。