VC Smart Git
A JetBrains-inspired Git tool window for Visual Studio Code.
VC Smart Git keeps local changes, history, conflict resolution, and Git blame in one bottom panel without replacing VS Code's built-in Source Control view.
Screenshots
Local Changes
Review tracked and unversioned files side by side with a compact inline diff and quick Git actions.

Log
Explore local and remote branches alongside a colored multi-lane commit graph, references, authors, dates, changed files, and commit details.

Git Blame
Annotate the active editor with commit dates and authors, including a clear marker for uncommitted lines.

Highlights
- JetBrains-style bottom tool window with Local Changes, Log, and Console tabs.
- Activity Bar launcher that opens Smart Git directly in the bottom panel.
- Theme-aware file presentation using Material Icon Theme when it is installed, plus VS Code Git decoration colors.
- Compact inline diff preview with file navigation, changed-line counts, Stage, Unstage, Rollback, maximize, and file actions.
- Git status groups that match the index: tracked, staged, modified, deleted, renamed, and conflicted files appear under Changes; only
?? files appear under Unversioned Files.
- Context menus throughout the UI, modeled after JetBrains Git actions.
Local Changes
The Local Changes tab provides a focused working-tree workflow:
- View tracked changes and unversioned files in separate collapsible sections.
- Select ranges with Shift and add or remove individual files with Cmd/Ctrl, then run Stage, Unstage, or Rollback for the complete selection.
- Distinguish added, modified, deleted, renamed, untracked, and conflicted files using the active VS Code theme.
- Preview concise unified diffs without raw
diff --git metadata.
- Open a file in the built-in VS Code Diff Editor or jump directly to its source.
- Stage or unstage individual files and all changes.
- Roll back staged and working-tree changes to
HEAD, or move new files to Trash, with confirmation.
- Commit staged changes from the Changes context menu.
- Copy repository-relative file paths.
Conflict Resolution
Conflicted files are surfaced at the top of Changes and provide dedicated actions:
- Open VS Code's Merge Editor.
- Accept Ours or Theirs.
- Mark a file as resolved.
- Continue or abort merge, rebase, cherry-pick, or revert operations.
Destructive actions require confirmation by default.
Log and Branches
The Log tab combines branch navigation, commit history, and commit details:
- Follow a colored multi-lane commit graph through branches and merges.
- Browse local and remote branches in a collapsible, path-aware tree.
- Filter commits by text or hash.
- Inspect branch/tag references, author, date, commit files, metadata, and full details.
- Right-click a commit for revision, checkout, compare, reset, revert, cherry-pick, branch, tag, and parent/child navigation actions.
- Open per-file commit diffs.
- Compare a commit with the current working tree.
- Create branches or tags from a commit.
- Checkout revisions, switch branches, and delete local branches.
- Cherry-pick or revert commits.
- Reset the current branch to a selected commit with confirmation.
Annotate with Git Blame
Run VC Smart Git: Annotate with Git Blame from the Command Palette or editor context menu.
- Display author, revision, date, and commit summary beside each editor line.
- Click a committed blame annotation to reveal that commit in the Smart Git Log.
- Right-click an annotated line to show its diff, copy the revision, open the revision or its parent, or view it in the remote repository browser.
- Uncommitted lines are identified separately.
Remote and Repository Operations
- Automatically discover Git repositories in the open workspace.
- Switch between multiple discovered repositories.
- Fetch all remotes.
- Pull using fast-forward-only mode.
- Push the current branch or publish a branch without an upstream.
- Follow built-in Git changes and refresh automatically.
- Review Git command activity in the Console tab.
Getting Started
- Install the extension and open a folder containing a Git repository.
- Click the Smart Git icon in the Activity Bar, or run VC Smart Git: Open Git Tool Window from the Command Palette.
- Use Local Changes for working-tree actions and Log for history and branch operations.
For the richest file icons, install and enable Material Icon Theme. VC Smart Git falls back gracefully when it is not installed.
Settings
| Setting |
Default |
Description |
vcSmartGit.gitPath |
git |
Path to the Git executable. |
vcSmartGit.autoRefresh |
true |
Refresh when repository or workspace state changes. |
vcSmartGit.logLimit |
200 |
Maximum commits loaded in the Log tab. |
vcSmartGit.confirmDestructiveActions |
true |
Confirm rollback, branch deletion, reset, and abort actions. |
Requirements
- Visual Studio Code 1.90 or newer.
- Git available on
PATH, or configured through vcSmartGit.gitPath.
Notes
VC Smart Git is inspired by JetBrains Git tooling but is an independent extension and is not affiliated with JetBrains. Repository-changing commands run through the Git executable configured in VS Code; credentials and authentication remain managed by your existing Git setup.
License
MIT
| |