Switching Worktrees
Easily switch between Git Worktrees in Tower to seamlessly manage multiple branches or revisions of your repository. Switching Worktrees allows you to focus on a specific branch or revision in its dedicated working directory without disrupting your main repository or other Worktrees.
How to Switch Worktrees
- From the Sidebar: Double-click a Worktree listed under the “Worktrees” section in the repository sidebar to open and switch to it.
- From a Branch: Double-click a branch that is backed by a Worktree (indicated by a small “+” badge) to immediately switch to its associated Worktree.
Why Switch Worktrees?
Switching Worktrees allows you to:
- Work on separate branches or revisions in isolation.
- Test changes or explore historical revisions without impacting your primary working directory.
- Quickly jump between active branches without the need to stash or commit unfinished changes.