Skip to main content

sync hooks


The moon sync hooks command will manually sync hooks for the configured VCS, by generating and referencing hook scripts from the vcs.hooks setting. Refer to the official VCS hooks guide for more information.

$ moon sync hooks


  • --clean - Clean and remove previously generated hooks.
  • --force - Bypass cache and force create hooks.