Commands Reference
Yggdrasil provides several commands to manage your worktrees. You can access these via the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) or via context menus in the Yggdrasil view.
| Command | Title | Description |
|---|---|---|
ygg.selectAndSwitch | Switch Worktree… | Search for a worktree and choose how to open it. |
ygg.add | Add Worktree | Create a new git worktree for a branch. |
ygg.remove | Remove Worktree | Remove a linked worktree from disk and git metadata. |
ygg.prune | Prune Missing Worktrees | Clean up stale worktree metadata for deleted paths. |
ygg.refresh | Refresh | Manually reload the worktree list. |
ygg.setBaseBranch | Set Base Branch… | Set the comparison target for diffs on the selected branch. |
ygg.clearSwitchMode | Clear Remembered Switch Mode | Reset your remembered “Always open in…” preference. |
ygg.welcome | Welcome | Show the welcome view for the extension. |
ygg.copyPath | Copy Path | Copy the absolute path of the selected worktree. |
ygg.revealInOs | Reveal in Finder / Explorer | Open the worktree location in your OS file explorer. |
ygg.openDiff | Open Diff | Open a diff view for the selected worktree. Not accessible from the Command Palette — triggered via context menu only. |