Back to the radar
no-mistakes Git Push Safety Tool
otherstrong
Original post
TL;DR
no-mistakes is a Git tool written in Go that helps prevent common mistakes when running 'git push', adding safety checks or guardrails before code is pushed to a remote repository. It reduces the risk of accidental or erroneous git pushes by intercepting the push command and applying configurable validation rules, protecting branches and preventing common workflow mistakes.
What it actually is
- What: no-mistakes is a Git tool written in Go that helps prevent common mistakes when running 'git push', adding safety checks or guardrails before code is pushed to a remote repository.
- Who built it / maintained by: kunchenguid (individual GitHub user, identity unknown)
- Status: stable
- Why it matters: It reduces the risk of accidental or erroneous git pushes by intercepting the push command and applying configurable validation rules, protecting branches and preventing common workflow mistakes.
- How it compares to alternatives:
- pre-commit
- husky
- lefthook
- overcommit
- git-hooks
- GitHub stars: 5,374 · License: MIT · Archived: no
Links
Kickstarter guide
Clone the repository from https://github.com/kunchenguid/no-mistakes and build the Go binary with 'go build'. Install it as a Git hook or wrapper around 'git push' in your repository. Configure the rules you want enforced to prevent unwanted pushes.