Skip to content

Zombie Branch

Easy — everyone uses thisGit & Version Control

ELI5 — The Vibe Check

A zombie branch is a merged branch that's still lying around in your repo, refusing to stay dead. It got merged weeks ago. The PR is closed. But somehow it's still there, showing up in branch lists, confusing future-you.

Real Talk

A zombie branch is a branch that has been merged into main (or abandoned) but was never deleted from the remote. They clutter git branch -r, can confuse CI branch triggers, and occasionally get reused by mistake. GitHub and GitLab both offer auto-delete-on-merge settings to prevent them.

When You'll Hear This

"Enable auto-delete-on-merge so we stop accumulating zombie branches." / "I accidentally pushed to a zombie branch."

Made with passive-aggressive love by manoga.digital. Powered by Claude.