1
0
Fork 0
mirror of https://github.com/netz39/www.netz39.de.git synced 2025-02-28 22:32:17 +01:00
www.netz39.de/.github/hooks/README.md

12 lines
242 B
Markdown
Raw 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`