Lefthook
lastmod 2025-04-03created 2025-04-031 edits
Fast and powerful Git hooks manager for any type of projects.
Fast and flexible Git hook manager
Features
- High-performance Git hook management tool usable in many kinds of projects, such as Node.js, Ruby, and Python
- Written in Go, so it is fast and can run in parallel; it works as a single dependency-free binary, making installation and maintenance easy
- File filtering: supports glob- or regular-expression-based file filtering
- Support for many languages and environments: compatible with Node.js, Ruby, Python, Docker, etc.
- Local configuration support: provides lefthook-local.yml for developers' personal settings
- Script execution: complex logic can be run as file-based scripts
- Command groups can be run directly: run any hook group or task manually
- Parallel execution: handles multiple jobs within a hook concurrently