Managing Git Worktrees
This section covers everything related to managing Git worktrees in WorktreeWise.
You’ll learn how to:
- Create new worktrees from branches or commits.
- Rename worktrees (and their branches).
- Move worktrees to different locations.
- Delete worktrees (only the worktree, or both worktree and branch).
- Lock/Unlock worktrees to prevent accidental deletion.
- Prune unused or detached worktrees.
Managing worktrees effectively lets you isolate features, experiments, or bug fixes in dedicated environments while keeping your repository clean and organized.