Hotfix
ELI5 — The Vibe Check
A hotfix is an emergency patch you ship immediately to fix a critical bug in production — no waiting for the next planned release. It is the coding equivalent of patching a hole in a ship while sailing. The name says it all: it is hot because it is urgent and live.
Real Talk
A hotfix is an unplanned patch deployed directly to production to address a critical defect, security vulnerability, or outage. Unlike regular releases, hotfixes bypass the normal development cycle (sprint planning, feature branch, staging) to minimize downtime. In Git, hotfixes are typically branched from the production tag, fixed, and merged back to both main and the current development branch.
Show Me The Code
# Hotfix workflow:
git checkout main
git checkout -b hotfix/payment-crash
# Fix the critical bug...
git add .
git commit -m "fix: prevent crash when payment amount is zero"
# Merge to main AND develop:
git checkout main && git merge hotfix/payment-crash
git checkout develop && git merge hotfix/payment-crash
git tag -a v1.2.1 -m "hotfix: payment crash"
When You'll Hear This
"We need a hotfix ASAP — checkout is broken." / "The hotfix went out at 2am and restored service."
Related Terms
Bug
A bug is anything in your code that makes it behave wrong.
Deploy
Deploying is taking your code from your computer and making it live on the internet for real users. Before: only you can see it.
Git
Git is like a magical save system for your code. Every time you save (commit), it remembers exactly what changed.
Patch
A patch is a small update that fixes something specific without replacing the whole program.
Production
Production is the real thing — the live app that actual users are using right now. It's the opposite of your practice environment.