Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git Selected Branch DiffNew to Visual Studio Code? Get it now.
Git Selected Branch Diff

Git Selected Branch Diff

junhodo

| (0) | Free
Compare and view file differences between Git branches in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Branch Diff

Compare and view file differences between Git branches directly in VS Code.

Features

  • Branch Comparison: Compare your working tree or any branch against a target branch
  • Folder Tree View: Changed files are organized in a hierarchical folder structure
  • Quick Branch Selection: Search and select branches with QuickPick
  • Inline Diff View: Click any file to see the diff between branches
  • Open Current Version: Quickly jump to the current HEAD version of any file

Usage

  1. Open the Branch Diff view in the Activity Bar
  2. Click on Target to select the branch you want to compare against
  3. Optionally, click on Source to change from Working Tree to a specific branch
  4. Click on any changed file to view the diff

Requirements

  • Git must be installed and available in your PATH
  • The workspace must contain a Git repository

Release Notes

0.0.1

Initial release with basic branch diff functionality.

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