mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-19 12:20:12 +01:00
12 lines
242 B
Markdown
12 lines
242 B
Markdown
|
# 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`
|