Git Log by Diffy is a Visual Studio Code extension for browsing repository history without leaving the editor. It opens a focused Git log workspace inside VS Code with repository switching, branch-aware history navigation, commit details, and side-by-side diff entry points.
Diffy uses the repositories already discovered by VS Code's built-in Git extension and reads history through the local git CLI. It is designed for fast inspection rather than a full desktop Git client replacement.
- Browse repositories already opened in the current VS Code workspace.
- Switch history by branch, remote branch, tag, or
HEAD. - Filter commits by free-text search, author, and path.
- Inspect commit metadata and changed files in a dedicated details pane.
- Review uncommitted changes as a working tree row when looking at the active branch.
- Compare two commits or two branches from the toolbar.
- Open per-file diffs from commit details, compare results, or working tree changes.
- Save a patch for the current comparison.
- Copy a commit message, commit hash, or branch name from the commit row menu.
- Reveal the current file in the Explorer from a Diffy diff editor with
Diffy: Open File and Reveal in Explorer.
- Visual Studio Code
1.90.0or newer - Git installed and available on your
PATH - A folder or workspace with at least one Git repository
Node.js is only required if you want to build or package the extension from source.
- Open the Extensions view in VS Code.
- Search for
Git Log by Diffy. - Select
Install.
code --install-extension diffy-<version>.vsixYou can also use Extensions: Install from VSIX... from the Extensions view menu.
- Open a workspace that contains one or more Git repositories.
- Run
Diffy: Show Logfrom the Command Palette. - Pick a repository, branch, filters, or compare target from the toolbar.
- Select a commit or the working tree row to inspect changed files.
- Open file diffs directly from the details pane.
Diffy: Show LogDiffy: Refresh LogDiffy: Open File and Reveal in Explorer
Diffy contributes the following settings:
diffy.defaultRef: default ref shown when Diffy opens. Default:HEADdiffy.maxCommitsPerPage: maximum number of commits loaded per page. Default:200diffy.dateFormat: date style used in the log and details pane. Options:relative,absolute
npm install
npm run buildFor active development:
npm run watchThen open this repository in VS Code and launch the extension host with the standard Run Extension flow.
- Create a local VSIX with
npm run package-it - Follow the release checklist in PUBLISHING.md
- Track user-visible release notes in CHANGELOG.md
npm run build: bundle the extension and webview assets intodist/npm run watch: rebuild on file changesnpm run typecheck: run TypeScript checks without emitting filesnpm test: run the repository validation sequencenpm run package-it: create a VSIX package withvsce