git_hooks_update.md
February 20, 2026 ยท View on GitHub
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-check and --disable-check 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
- git hooks - Githooks CLI application