git worktree prune

Prune working tree information in $GIT_DIR/worktrees

Options

NameDescription
-n, --dry-runWith prune, do not remove anything; just report what it would remove
-v, --verboseWith prune, report all removals
--expire <time>With prune, only expire unused working trees older than <time>