Skip to Content
Managing Git WorktreesList & Actions Panel

Worktree List and Actions

The Worktrees panel displays all primary and linked worktrees registered in your repository. It provides live status badges for running AI agents and terminal processes, along with a comprehensive context menu for development and maintenance actions.

Worktree actions


Panel Organization

The Worktrees panel organizes your checkouts into distinct sections:

  • Primary Worktree: Displayed at the top with a distinct Primary badge. Represents your repository clone root.
  • Linked Worktrees: Listed underneath. Each row displays the worktree branch name, directory tooltip, lock indicator, and real-time status.
  • Active Agent Indicator: When an AI agent (such as Claude Code, Codex, or Cursor) is running in a worktree, an agent badge appears on the row so you can monitor background tasks at a glance.

Toolbar Controls

The toolbar at the top of the Worktrees panel provides quick-access buttons:

ControlShortcutAction
Add WorktreeShift + WOpen the Create Worktree modal
RefreshShift + RReload statuses, branches, and filesystem directories from disk
Prune WorktreesShift + POpen the Review-First Prune dialog to inspect and remove stale records
OverviewShift + OSwitch to the repository health and disk usage dashboard

Context Actions Menu

Select the three-dot menu (⋮) beside any worktree to access its actions:

Development Actions

ActionDescription
Open in Explorer / FinderOpen the physical worktree directory in your operating system file manager.
Open in TerminalLaunch a worktree-scoped terminal session in the embedded terminal grid.
Work with AI AgentOpen the workspace directly in AI Agent mode with your default coding assistant.
Open in [Editor / IDE]Launch the worktree directly in an enabled editor (VS Code, Cursor, Windsurf, JetBrains) with preserved configurations.

Editor choices

Clipboard Actions

Hover over Copy in the menu to access:

  • Copy Name: Copies the worktree or branch name to your clipboard.
  • Copy Path: Copies the absolute filesystem directory path.

Copy choices

Maintenance & Safety Actions

ActionDescription
RenameRename the worktree folder and synchronize the underlying Git branch name atomically.
Change Folder (Move)Relocate the worktree directory to another path while updating Git administrative pointers.
Change Naming PatternRe-evaluate the worktree folder name against configured naming templates.
Lock / UnlockApply or remove administrative lock protection with a descriptive reason.
DeleteOpen the safe deletion dialog to remove the directory or both directory and branch.

Delete choices

Safety guardrails automatically disable destructive actions (Delete, Rename, Move) on the primary worktree and any worktrees currently marked as locked.