Skip to main content

sync hooks

v1.9.0

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

Options

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

Configuration