Worktrees
Worktrees let you isolate workstreams inside the same repository.
Commands
/worktree/worktree create/worktree list/worktree merge/worktree remove
What Grok Code Creates
- worktrees under
.grok/worktrees/ - branches named
worktree-
Important Limits
- worktrees only work inside a git repository
- removing a modified worktree may stop and ask you to deal with local changes first