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
更新於 3/27/2026
星標
13965
分支
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.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use git-clean-gone-branches