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