safe-git-purge

Delete dead branches. Keep unmerged work.

Paste a read-only git probe. Branches that are gone from the remote and already merged become git branch -d lines. Everything else stays.

Probe

Show the command

    

bash or zsh. It fetches and prints. It does not delete.

Waiting for a probe. Ctrl or ⌘ Enter reads it.

Plan

Nothing read yet.

  1. Copy the probe and run it in the repo.
  2. Paste the output. It stays in this browser.
  3. Copy the commands. Unmerged branches stay commented out.

Or load the demo: four merged leftovers and two branches that still have their own commits.