home/categories/system-admin/everyinc-compound-engineering-plugin-plugins-compound-engineering-skills-git-clean-gone-branches-skill-md
system-admintools

git-clean-gone-branches

Clean up local branches whose remote tracking branch is gone. Use when the user says "clean up branches", "delete gone branches", "prune local branches", "clean gone", or wants to remove stale local branches that no longer exist on the remote. Also handles removing associated worktrees for branches that have them.

EveryInc
maintainer
EveryInc
Mis à jour 3/27/2026
Étoiles
13965
Forks
1044
quick start

Installation and usage

Clean up local branches whose remote tracking branch is gone. Use when the user says "clean up branches", "delete gone branches", "prune local branches", "clean gone", or wants to remove stale local branches that no longer exist on the remote. Also handles removing associated worktrees for branches that have them.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use git-clean-gone-branches