Wiki › Project
githooks
Article
ReadAll pages
From Chaipat's knowledge graph
githooks is a small collection of Git hooks, wired up through the Python pre-commit framework:
- commit-msg rejects empty commit messages;
- pre-commit runs ShellCheck on shell scripts, when it is installed;
- post-merge confirms a merge has finished.
They are simple on purpose, as templates for project-specific checks.