www.netz39.de/.github/hooks/README.md

12 lines
242 B
Markdown
Raw Permalink Normal View History

2023-10-16 01:36:59 +02:00
# Git hooks
Git hooks are provided in `hooks/`. The pre-commit hook, when enabled, will check for non-staged assets before commit and abort if found any.
## Setup
`ln lib/hooks/pre-commit .git/hooks/pre-commit`
## Bypass
`git commit -n`