Skip to main content

sync vcs-hooks

v1.9.0

The moon sync vcs-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 vcs-hooks

Options

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

Configuration