cleanup-git
CommunitySafely prune stale git branches and worktrees.
Authorjoaop21
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Clean up stale local branches and worktrees that have already been merged remotely, reducing repository clutter and confusion for developers.
Core Features & Use Cases
- Identify local branches whose remote tracking references have been deleted.
- Detect worktrees on branches that are merged into main.
- Present a list to the user and delete only the items they select, after explicit confirmation.
- Skip main and the currently checked-out branch, and avoid worktrees with uncommitted changes.
Quick Start
Scan for stale local branches and worktrees and delete the ones you select.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cleanup-git Download link: https://github.com/joaop21/dotfiles/archive/main.zip#cleanup-git Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.