The pre-commit stage runs before the commit is created, so it can't validate the commit being made. The commit-msg stage receives the message file as argv[1], allowing the hook to include the pending commit in its invariant check. Also works standalone (no args) for validating existing branch history. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| changelog.d | ||
| explanation | ||
| how-to | ||
| reference | ||
| tutorials | ||
| index.md | ||
| quartz.config.ts | ||
| quartz.layout.ts | ||