Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git Diff SidebarNew to Visual Studio Code? Get it now.
Git Diff Sidebar

Git Diff Sidebar

dprslt

|
13 installs
| (0) | Free
Shows files changed from a base branch in the sidebar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Diff Sidebar

VSCode extension that shows files changed from a base branch in the Source Control sidebar.

Features

  • Shows committed changes (diff from base branch, default: main)
  • Shows uncommitted changes (staged, unstaged, untracked)
  • Click file to open, click diff icon to view diff
  • Auto-refreshes on file changes
  • Optional git-spice integration for branch selection

Install

From Open VSX Registry or install .vsix manually:

  1. Download from Releases
  2. In VSCode: Extensions > ... > Install from VSIX

Usage

  1. Open a git repo in VSCode
  2. Find "Changes from Base" in Source Control sidebar
  3. Use toolbar icons to refresh or change base branch
image

Settings

Setting Default Description
gitDiffSidebar.gitSpiceExecutable gs Path to git-spice executable

Example (in settings.json):

{
  "gitDiffSidebar.gitSpiceExecutable": "gs"
}

Development

npm install
npm run compile
npm run package  # creates .vsix

Press F5 in VSCode to launch extension in debug mode.

License

MIT

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