Git hooks manager. Fast, powerful, simple.
Project description
Lefthook
The fastest polyglot Git hooks manager out there
A Git hooks manager for Node.js, Ruby and many other types of projects.
- Fast. It is written in Go. Can run commands in parallel.
- Powerful. It allows to control execution and files you pass to your commands.
- Simple. It is single dependency-free binary which can work in any environment.
Install
pip install lefthook
Usage
Configure your hooks, install them once and forget about it: rely on the magic underneath.
TL;DR
# Configure your hooks
vim lefthook.yml
# Install them to the git project
lefthook install
# Enjoy your work with git
git add -A && git commit -m '...'
More details
- Configuration for
lefthook.yml
config options. - Usage for lefthook CLI options, supported ENVs, and usage tips.
- Discussions for questions, ideas, suggestions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lefthook-1.7.22.tar.gz
(30.0 MB
view hashes)
Built Distribution
lefthook-1.7.22-py3-none-any.whl
(30.1 MB
view hashes)
Close
Hashes for lefthook-1.7.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0009a5b825e8fa5aabb6f80a41188f9d15b78abfffce48f4d93f580a1a0f95b6 |
|
MD5 | 030a0696a4829e47f6f7e0a47dcc1da2 |
|
BLAKE2b-256 | 77513efb8dc7d8b54a4ca18a229023ea24a093df9d101fd696c4bb267db9c64a |