Sep 4, 2026

[git] Delete all worktree except master in windows

 Powershell command:

 (git worktree list) | Select-Object -Skip 1 | ForEach-Object { $path = ($_ -split ' ')[0] git worktree remove --force "$path" } git worktree prune