Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Commit Diff ReviewerNew to Visual Studio Code? Get it now.
Commit Diff Reviewer

Commit Diff Reviewer

Yang Longlong

|
4 installs
| (0) | Free
Interactive commit difference reviewer with accept/reject functionality
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Commit Diff Reviewer

Commit Diff Reviewer Logo

Interactive Git commit review with GitHub Copilot-style UX

VS Code Marketplace Version Installs License


A VSCode/Cursor extension that allows you to review any Git commit's changes interactively - accept changes you want to keep or reject changes to revert them to the original state.

✨ Features

🎯 Commit Selection

  • Quick Pick UI showing recent commits with hash, message, author, and time
  • Support for manual commit hash input
  • Session management with persistence

🎨 Visual Diff Highlighting

Change Type Color Description
➕ Added 🟢 Green New lines added in the commit
➖ Deleted 🔴 Red Lines removed in the commit
✏️ Modified 🟡 Yellow Lines changed in the commit

🔘 Inline Actions

Each change shows CodeLens buttons:

  • ✓ Accept - Keep the change (just removes highlighting)
  • ✗ Reject - Revert to original content

⌨️ Keyboard Navigation

Shortcut Action
Alt+] or Shift+F7 Go to next change
Alt+[ or F7 Go to previous change
Alt+A Accept current change
Alt+R Reject current change

📊 Status Bar

  • Shows review progress: 3/15 pending (5/20 done)
  • Navigation buttons for prev/next change
  • Click commit hash to end session

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+Shift+X to open Extensions
  3. Search for "Commit Diff Reviewer"
  4. Click Install

Or install directly: VS Code Marketplace

From VSIX File

  1. Download the .vsix file from Releases
  2. In VS Code, press Ctrl+Shift+P
  3. Run Extensions: Install from VSIX...
  4. Select the downloaded file

🚀 Usage

  1. Open a Git repository in VS Code
  2. Press Ctrl+Shift+P and run "Commit Diff Reviewer: Select Commit to Review"
  3. Choose a commit from the list (or enter a hash manually)
  4. Review each change:
    • Click ✓ Accept to keep the change
    • Click ✗ Reject to revert to original
  5. Use Alt+[/] to navigate between changes
  6. When done, run "End Review Session"

Commands

Command Description
Commit Diff Reviewer: Select Commit to Review Start a review session
Commit Diff Reviewer: Go to Next Change Navigate to next change
Commit Diff Reviewer: Go to Previous Change Navigate to previous change
Commit Diff Reviewer: Accept Current Change Accept and keep current change
Commit Diff Reviewer: Reject Current Change Reject and revert current change
Commit Diff Reviewer: Accept All Changes Accept all remaining changes
Commit Diff Reviewer: Reject All Changes Reject all remaining changes
Commit Diff Reviewer: End Review Session End the current session

⚙️ Configuration

Setting Default Description
commitDiffReviewer.maxCommitsInList 20 Number of commits to show
commitDiffReviewer.highlightColors.added rgba(46,160,67,0.25) Added lines color
commitDiffReviewer.highlightColors.deleted rgba(248,81,73,0.25) Deleted lines color
commitDiffReviewer.highlightColors.modified rgba(210,153,34,0.25) Modified lines color

🔧 Development

# Clone the repository
git clone https://github.com/longlongyang/commit-diff-reviewer.git
cd commit-diff-reviewer

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch for changes
npm run watch

# Launch Extension Development Host
# Press F5 in VS Code

📄 License

MIT © Yang Longlong


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

🐛 Issues

Found a bug? Please open an issue.

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