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

Working Tree Diff

Preview

苏铁

|
2 installs
| (1) | Free
Compare the current Git working tree against a selected ref or commit.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

English | 中文

Working Tree Diff

A lightweight VS Code extension for comparing the current Git working tree with a selected ref or commit.

Features

  • Command: Working Tree Diff: Compare with Ref
  • Pick a local or remote branch, or type any ref / commit id directly
  • Show results in VS Code's built-in Source Control view under Working Tree Diff
  • Provide title-bar actions for Compare with Ref, tree/list display mode, and Refresh
  • Mark files as handled with checkboxes without changing Git state
  • Switch between flat list and directory tree display
  • Show changed files equivalent to git diff --name-status <target>, plus untracked files from git ls-files --others --exclude-standard
  • Open file diffs with VS Code's native diff editor
  • Supports M, A, D, and ??

This extension intentionally does not implement GitLens-style history, blame, PR, staging, or graph features.

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