Skip to content

smykla-skalski/git-clean-gone

v1.0.3MIT

Clean up local branches with deleted remote tracking and their worktrees

git-clean-gone

Clean up local branches with deleted remote tracking and their worktrees. Use after merging PRs to remove stale branches, detect squash-merged and rebased branches, and clean up associated worktrees.

License
MIT
Compatibility
Works in Claude Code, Codex, opencode and Copilot CLI. Needs bash and git; the gh CLI is optional (squash-merge detection). Fetches from all remotes.
Read SKILL.md at the source

Pinned to revision 8eba15d97d06, so it is the text this page describes rather than whatever the author pushed since.

Pre-approved tools experimental

Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.

  • Bash

Files

Every link opens the file at its source, pinned to the revision this page describes.