lefthook vs no-mistakes
Git workflow checks compared
lefthook manages configurable Git hooks that run project-defined commands around commits and pushes. no-mistakes gates pushes through an isolated validation pipeline with a coding agent, then forwards changes after local gates pass.

lefthook: Manage Git Hooks Across Project Languages
Lefthook is a fast Git hooks manager built in Go for Node.js, Ruby, Python, and other projects. It runs configured commands in parallel and lets teams filter files and control hook execution.

no-mistakes: Gate Git Pushes with AI Validation
no-mistakes is a Go-based local Git proxy for macOS, Linux, and Windows. It runs an AI-driven validation pipeline in a disposable worktree, then forwards passing changes and opens a pull request.
| lefthook | no-mistakes | |
|---|---|---|
| Language | Go | Go |
| License | MIT | MIT |
| Stars | 8.9k | 9k |
| Forks | 326 | 930 |
| Last analyzed | Oct 25, 2026 | Oct 26, 2026 |
Key differences
- lefthook runs configured hook jobs such as pre-commit and pre-push, while no-mistakes centers on validating and forwarding Git pushes.
- lefthook selects files for commands using staged, all, or custom file sets and filters; no-mistakes runs checks in a disposable worktree to leave the original working tree unchanged.
- lefthook runs commands defined by the project, while no-mistakes requires a configured runnable coding agent and can apply safe fixes or request human review.
- lefthook supports installation through Go and several package managers; no-mistakes is described as a Go CLI that changes the push workflow to use its gate.
- Both projects are Go-based and MIT-licensed; lefthook lists 8.9k stars and 316 forks, while no-mistakes lists 8.7k stars and 937 forks.
Choose lefthook if you…
- need configurable hooks for commits, pushes, or custom task groups.
- want to select and filter files passed to commands, or run independent jobs in parallel.
- prefer project-defined checks without requiring an AI agent in the validation pipeline.
Choose no-mistakes if you…
- want pushes validated in a disposable worktree before they are forwarded.
- need an AI-assisted review flow that can apply safe fixes and route other findings for human decisions.
- want to combine push validation with PR creation and guarded CI repair.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.