VSCode extension that shows files changed from a base branch in the Source Control sidebar.
- 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
From Open VSX Registry or install .vsix manually:
- Download from Releases
- In VSCode: Extensions >
...> Install from VSIX
- Open a git repo in VSCode
- Find "Changes from Base" in Source Control sidebar
- Use toolbar icons to refresh or change base branch
| Setting | Default | Description |
|---|---|---|
gitDiffSidebar.gitSpiceExecutable |
gs |
Path to git-spice executable |
Example (in settings.json):
{
"gitDiffSidebar.gitSpiceExecutable": "gs"
}npm install
npm run compile
npm run package # creates .vsixPress F5 in VSCode to launch extension in debug mode.
MIT