VS Code Extensions
Working Tree Diff

Working Tree Diff

by sutie

Compare the current Git working tree against a selected ref or commit.

Downloads

7

Rating

5.0 / 5 (1)

Version

0.0.5

Last updated

Jul 09, 2026

English | 中文

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

Features

  • Command palette: Working Tree Diff: Compare
  • 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.

Related extensions