Stop Letting Crappy Code Into Your Repos

Utilizing git hooks and pre-commit to improve your repo quality

David Tippett
Better Programming
Published in
5 min readSep 1, 2021

--

Photo by Sigmund on Unsplash

I’ve seen this happen in all manner of companies. From Fortune 500 to small startups everyone seems to be missing the first step needed to ensure your codebase doesn’t get tainted by bad and broken commits. That is git commit hooks.

What are Git Hooks?

--

--