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.8.4.tar.gz
(31.1 MB
view details)
Built Distribution
lefthook-1.8.4-py3-none-any.whl
(31.3 MB
view details)
File details
Details for the file lefthook-1.8.4.tar.gz
.
File metadata
- Download URL: lefthook-1.8.4.tar.gz
- Upload date:
- Size: 31.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1b2b1d48ef9cc114d73ae197a623520ac5d7d469a8c8c943bff18516526d73d |
|
MD5 | e43d36a0a0a7204ae111e75ef203a238 |
|
BLAKE2b-256 | b9bb07919d8e94bbe1169b667e5cd9c4e928672219e93406f5bd579f8a59e7d2 |
File details
Details for the file lefthook-1.8.4-py3-none-any.whl
.
File metadata
- Download URL: lefthook-1.8.4-py3-none-any.whl
- Upload date:
- Size: 31.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c471fce10c26f978c79c211dc694b5186bbe7481cda81dc5361f127494d82b23 |
|
MD5 | a2019b49a350477c361cc41b04c3c2bc |
|
BLAKE2b-256 | c25d192e0dfe1e5410261aeca8f0402a55f5e8e870c8017a7b9df26119225638 |