Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.03 KB

git_hooks_update.md

File metadata and controls

35 lines (24 loc) · 1.03 KB

git hooks update

Performs an update check.

Synopsis

Executes an update check for a newer Githooks version.

If it finds one and the user accepts the prompt (or --yes is used) the installer is executed to update to the latest version.

The --enable-ckeck and --disable-ckeck options enable or disable the automatic checks that would normally run daily after a successful commit event.

git hooks update

Options

      --yes               Always accepts a new update (non-interactive, only non-major versions).
      --no                Always deny an update and only check for it.
      --yes-all           Always accepts a new update (non-interactive, all versions).
      --use-pre-release   Also discover pre-release versions when updating.
      --enable-check      Enable daily Githooks update checks.
      --disable-check     Disable daily Githooks update checks.
  -h, --help              help for update

SEE ALSO

Auto generated by spf13/cobra