CodeInKlingon Git Compare
Local VS Code extension that adds a Source Control panel for previewing branch comparison diffs.
The default base ref is origin/main, matching:
git diff origin/main...HEAD
Run Locally
npm install
npm run compile
Open this folder in VS Code, press F5, then open a Git repository in the Extension Development Host.
In the Source Control view, use the Branch Compare: origin/main panel. Click the branch button to pick a compare branch, click the refresh button to load the changed files, then click any file to open its diff.
You can also run Git: Compare Current Branch with Base Branch from the Command Palette or the Source Control title menu. That command refreshes the panel and focuses it.
Use Git: Pick Compare Branch from the Command Palette to change the base branch. The panel title updates to Branch Compare: <branch>.
Configuration
Set gitCompare.baseRef if your default branch is different:
{
"gitCompare.baseRef": "origin/develop"
}