Worktrees

Give parallel agent tasks separate working copies of the same Git repository.

Create a worktree

Open Git and choose the Worktrees tab. Create a worktree for a new line of work, or choose worktree isolation when creating a session. New isolated session worktrees use branches under rift/ and folders under ~/.riftpanel/worktrees/.

Open a session

The Worktrees tab lists worktrees and can open a session rooted in one. Assign each parallel agent its own working copy when tasks edit overlapping files. A worktree shares Git history with the repository and has its own checked-out files.

Review and clean up

Inspect the branch and changes in Git or Diff Review before integrating the work. The Worktrees tab also offers removal. Review any uncommitted changes and finish sessions using that working copy before removing it.

Review changes with an independent agent.