Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git OutlineNew to Visual Studio Code? Get it now.
Git Outline

Git Outline

Benjamin Hargett

|
1 install
| (0) | Free
Tree view showing all files changed relative to a base branch
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Outline

A VS Code extension that shows all files changed on your branch relative to a base branch — committed and uncommitted — in a tree view in the Explorer sidebar.

Like the built-in Git Changes panel, but for your entire branch.

Features

  • Tree view in Explorer — changed files organized in a folder hierarchy with compacted paths
  • All changes — committed diffs from the merge-base plus staged, unstaged, and untracked files
  • Base branch picker — switch base branches from the panel toolbar
  • Auto-refresh — updates on file save and git index changes
  • Status badges — M (modified), A (added), D (deleted), R (renamed) per file
  • Diff support — click the diff icon to compare against the base branch
  • Expand / Collapse all — toolbar buttons to control the tree

Install

From source

pnpm install
pnpm run build
pnpm run package
code --install-extension git-outline-0.1.0.vsix

From VSIX

Download the .vsix from Releases, then:

code --install-extension git-outline-0.1.0.vsix

Configuration

Setting Default Description
gitOutline.baseBranch "main" The base branch to compare against
gitOutline.autoRefresh true Automatically refresh when files change

You can also change the base branch from the branch icon in the panel toolbar.

How it works

  1. Finds the merge-base between HEAD and origin/<baseBranch> (falls back to <baseBranch>)
  2. Runs git diff --name-status from the merge-base to HEAD for committed changes
  3. Collects staged, unstaged, and untracked files for uncommitted changes
  4. Merges and deduplicates, then renders as a compacted folder tree

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft