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.

lefthookno-mistakes
LanguageGoGo
LicenseMITMIT
Stars8.9k9k
Forks326930
Last analyzedOct 25, 2026Oct 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.
Read the lefthook analysis →

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.
Read the no-mistakes analysis →

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.