We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0f88ab + 54cd70d commit b84c9f6Copy full SHA for b84c9f6
1 file changed
sections/advanced.md
@@ -477,6 +477,7 @@ git config set hook.pre-commit.pre-commit.command 'pre-commit hook-impl --hook-t
477
478
`pre-commit hook-impl` is a "hidden" implementation command with these options:
479
- `--hook-type ...`: the [hook type](#supported-git-hooks) to use
480
+- `--config ...`: (optional) path to `.pre-commit-config.yaml`
481
- `--skip-on-missing-config`: silently pass when a config is missing
482
483
some interesting applications of this:
0 commit comments