From 574b034d4c63eaf572aed7c54c0ae097501178af Mon Sep 17 00:00:00 2001 From: Dario Garcia Date: Sun, 15 Nov 2026 11:08:22 -0300 Subject: [PATCH] docs: explain how to enable the pre-commit hook --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0b3bab0..4af62ed 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,14 @@ composer check # runs the five gates above, in order composer test:integration # requires CAMELIA_TEST_DSN ``` +The same gate runs on every commit once the hook is enabled per clone: + +```bash +git config core.hooksPath .githooks +``` + +Use `git commit --no-verify` to bypass it for a single commit. + Configuration: | File | Purpose |