Yggdrasil

Explore and switch git worktrees from the VS Code sidebar

Sidebar Tree View

Yggdrasil sidebar tree view showing worktrees and branches

Powerful Worktree Management

🌲

Activity Bar Explorer

Visualize all git worktrees for your project root in a dedicated sidebar panel. Yggdrasil stays in sync with your local git state automatically.

Activity Bar Explorer

Dedicated sidebar panel for worktree exploration

🔍

Branch Diff Explorer

Browse committed, staged, and untracked changes at a glance. Double-click any file to open a native VS Code diff view.

Branch Diff Explorer

Side-by-side diff view with M/A/D/R status icons

Smart Switching

Switch context quickly via a GUI dialog: New Window, Replace Current, or Add to Workspace.

Smart Switching

Switch dialog with flexible opening modes

🎯

Custom Comparison Bases

Set a custom Base Branch per worktree to track changes against develop, staging, or specific release branches.

Custom Comparison Bases

Per-worktree base branch configuration

Quick Start

1

Install Extension

Install Yggdrasil from the VS Code Marketplace or OpenVSX.

View on Marketplace View on OpenVSX
2

Open Git Repo

Open any local git repository in VS Code.

bash
cd my-project && code .
3

Explore Worktrees

Click the Yggdrasil icon in the Activity Bar to start managing your worktrees.

Commands Reference

ygg.selectAndSwitch Switch Worktree...
ygg.add Add Worktree
ygg.remove Remove Worktree
See all commands in the docs →