git worktree remove <worktree>
Remove a working tree
Arguments
Name | Description |
---|---|
worktree | Working trees can be identified by path, either relative or absolute |
Options
Name | Description |
---|---|
-f, --force | Remove refuses to remove an unclean working tree unless --force is used. To remove a locked working tree, specify --force twice |