git worktree prune
Prune working tree information in $GIT_DIR/worktrees
Options
Name | Description |
---|---|
-n, --dry-run | With prune, do not remove anything; just report what it would remove |
-v, --verbose | With prune, report all removals |
--expire <time> | With prune, only expire unused working trees older than <time> |