Back to all

clean-worktree

by Michael Edelman

10Feb 6, 2026Visit Source
Safely remove a git worktree and its associated branches. Use when done with a feature branch worktree. Prevents shell breakage by ensuring correct CWD.