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.

CommandTitleDescription
ygg.selectAndSwitchSwitch Worktree…Search for a worktree and choose how to open it.
ygg.addAdd WorktreeCreate a new git worktree for a branch.
ygg.removeRemove WorktreeRemove a linked worktree from disk and git metadata.
ygg.prunePrune Missing WorktreesClean up stale worktree metadata for deleted paths.
ygg.refreshRefreshManually reload the worktree list.
ygg.setBaseBranchSet Base Branch…Set the comparison target for diffs on the selected branch.
ygg.clearSwitchModeClear Remembered Switch ModeReset your remembered “Always open in…” preference.
ygg.welcomeWelcomeShow the welcome view for the extension.
ygg.copyPathCopy PathCopy the absolute path of the selected worktree.
ygg.revealInOsReveal in Finder / ExplorerOpen the worktree location in your OS file explorer.
ygg.openDiffOpen DiffOpen a diff view for the selected worktree. Not accessible from the Command Palette — triggered via context menu only.