git-clean-gone-branches

Installation
SKILL.md

Clean Gone Branches

Delete local branches whose remote tracking branch has been deleted, including any associated worktrees.

Workflow

Step 1: Discover gone branches

Run the discovery script to fetch the latest remote state and identify gone branches:

bash scripts/clean-gone

scripts/clean-gone

The script runs git fetch --prune first, then parses git branch -vv for branches marked : gone].

If the script outputs __NONE__, report that no stale branches were found and stop.

Related skills

More from everyinc/every-marketplace

Installs
3
GitHub Stars
16.2K
First Seen
Mar 28, 2026