<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Pre-Commit - Tag - vo.rs</title><link>https://vo.rs/tags/pre-commit/</link><description>Pre-Commit - Tag - vo.rs</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Mon, 09 Mar 2026 14:00:00 +0000</lastBuildDate><atom:link href="https://vo.rs/tags/pre-commit/" rel="self" type="application/rss+xml"/><item><title>Pre-commit Hooks: Catching Mistakes Before They Reach the Repo</title><link>https://vo.rs/story/pre-commit-hooks-catching-mistakes-before-they-reach-the-repo/</link><description>&lt;p&gt;There is a particular flavour of shame that comes from pushing a commit, watching CI light up red ninety seconds later, and discovering the failure was a trailing-whitespace lint error or a file you forgot to format. Worse is the commit that ships an AWS key in a &lt;code&gt;.env&lt;/code&gt; you meant to gitignore, now etched into history forever. Pre-commit hooks catch all of this at the only moment it&amp;rsquo;s cheap to catch: before the commit exists. Git has always supported hooks; the &lt;code&gt;pre-commit&lt;/code&gt; framework just makes them sane to manage.&lt;/p&gt;</description><pubDate>Mon, 09 Mar 2026 14:00:00 +0000</pubDate></item></channel></rss>