Skip to main content
A worktree is a second working copy of your repo, on its own branch, sharing the same git history. Worktrees let you run several seb chat sessions in parallel on one repo — one pairing on a feature, another reviewing an agent’s PR — without them fighting over the current branch or forcing you to stash and switch.
Where: inside seb chat, run /worktree.

Use it

  • /worktree — open a menu to create a new worktree or switch to an existing one (type to filter the list).
  • /worktree <name> — create, or jump straight to, a named worktree.
Each worktree is created under .seb/worktrees/<name>/, branched from your current HEAD. Switching points the session — Seb’s commands and file edits — at that directory; your main checkout is never touched. Worktrees whose directories were deleted are pruned automatically.

A typical split

  • One session runs /pull to review an agent’s PR on its branch.
  • Another runs in a fresh /worktree feature-x to prototype something new.
Both share the same repo and history; neither blocks the other.

See also