Remove All Git Branches Except Master
A one-liner for nuking every stale local branch while keeping main intact — handy after a long sprint of feature work.
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Writing · Tag
2 posts on git. Or browse the full writing index →
A one-liner for nuking every stale local branch while keeping main intact — handy after a long sprint of feature work.
Git explained for working developers — the mental model, the commands that matter, and how to stop being afraid of rebasing.