git-worktree-remove
SolidSafely remove a git worktree with branch cleanup and safety checks
Install
Quality Score: 96/100
Skill Content
Details
- Author
- FlorianBruniaux
- Repository
- FlorianBruniaux/claude-code-ultimate-guide
- Created
- 5 months ago
- Last Updated
- today
- Language
- Python
- License
- CC-BY-SA-4.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
git-worktree-clean
Clean up stale git worktrees with merged branch detection and disk usage report
safe-bulk-worktree-branch-cleanup
Safely bulk-clean accumulated git worktrees and branches without losing progress. Use when: (1) user says the repo is "messy with worktrees", "too many branches", "clean up the repo", "review the worktrees"; (2) `git worktree list` / `git branch -a` shows dozens of stale entries; (3) you must delete many branches/worktrees but the user said "without losing progress" / "keep <X>". Centres on the non-obvious trap that `git branch --merged` and `git merge-base --is-ancestor` report false "NOT merged" for squash-merged branches — so safety must be gated on PR state, not ancestry. Covers the verify-before-delete gate, salvaging untracked files before `git worktree remove`, and a SHA recovery manifest.
git-worktree
Create isolated git worktrees for feature development without switching branches