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:
- Download from Releases
- In VSCode: Extensions >
... > Install from VSIX
Usage
- Open a git repo in VSCode
- Find "Changes from Base" in Source Control sidebar
- Use toolbar icons to refresh or change base branch
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
| |