简体   繁体   中英

Can we include our own hooks in gerrit repositories

is it possible that we add our own hooks to Gerrit managed git repositories? We tried adding a pre-recieve hook to the hooks directory (which was empty by default), but the hooks are not firing!
Doesnt Gerrit support customized hooks?

One of my colleagues pointed to the Gerrit docs: http://gerrit.googlecode.com/svn/documentation/2.2.1/config-hooks.html

Gerrit does not run any of the standard git hooks in the repositories it works with, but it does have its own hook mechanism included.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM