From 54cd70dfa20378d2c656f1b764e02966587629ad Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Wed, 22 Apr 2026 09:32:44 -0400 Subject: [PATCH] also document --config for hook-impl --- sections/advanced.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sections/advanced.md b/sections/advanced.md index e7531157..646f2ac1 100644 --- a/sections/advanced.md +++ b/sections/advanced.md @@ -477,6 +477,7 @@ git config set hook.pre-commit.pre-commit.command 'pre-commit hook-impl --hook-t `pre-commit hook-impl` is a "hidden" implementation command with these options: - `--hook-type ...`: the [hook type](#supported-git-hooks) to use +- `--config ...`: (optional) path to `.pre-commit-config.yaml` - `--skip-on-missing-config`: silently pass when a config is missing some interesting applications of this: