Git Branch Cleanup

Clean up stale and merged git branches — both local and remote. Prunes tracking refs, identifies merged branches safe to delete, flags orphaned branches whose remote is gone, and presents a clear summary before acting. Use this skill whenever the user mentions cleaning up branches, pruning stale branches, deleting old branches, or tidying their git state. Trigger on: "clean up branches", "delete merged branches", "prune branches", "stale branches", "branch cleanup", "tidy branches", "remove old branches", "git branch cleanup", "branches to delete", "what branches can I delete", or any request about removing branches that have already been merged. Also trigger when the user says things like "I have too many branches", "clean up my git", or "lots of things merged".

ivy00johns Updated

File contents

ivy00johns/Skill-Madness/tree/main/skills/archive/git-branch-cleanup commit 66c2a26fb5

Frequently asked questions

npx skillmds@latest add ivy00johns/git-branch-cleanup