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