Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>I-RebaseNew to Visual Studio Code? Get it now.
I-Rebase

I-Rebase

Vitaly Chekryzhev

|
134 installs
| (0) | Free
Interactive git rebase editor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

I-Rebase

I-Rebase is a Visual Studio Code extension that provides an interactive editor for Git rebase operations. The extension allows users to visually reorder, edit, and manage Git commits during an interactive rebase session.

Features

  • Interactive Git rebase editor with drag-and-drop functionality
  • Visual representation of commits with branches and tags
  • Ability to change commit order via drag-and-drop or arrow buttons
  • Support for common rebase commands (pick, reword, edit, squash, fixup, drop)
  • Integration with VS Code's SCM view
  • Conflict detection and visualization
  • Commit splitting functionality
  • Undo/redo capabilities
  • Search functionality
  • Keyboard shortcuts support. Arrow keys to navigate, Ctrl+Left/Ctrl-Right to switch action.
  • Support VS Code forks

Main window

I-Rebase

Split commit dialog

Split dialog in I-Rebase

Submenu in Source Control Management (SCM)

Split dialog in I-Rebase

How to Use

  1. Open a Git repository in VS Code.
  2. Init a rebase session by manual git rebase -i or via the Interactive rebase submenu on the SCM toolbar. It offers Up to Last Push (rebase all local commits not yet pushed), presets 20 / 50 last commits, Custom Refspec... (branch, tag, hash or HEAD~N) and N Last Commits... (manual input). If the rebase fails to start (uncommitted changes, active rebase, conflicts), a notification with suggested actions (Stash / Retry / Open Rebase Editor / Abort / Show Log) is shown, and full details are logged to the I-Rebase output channel.
  3. Drag and drop commits to reorder them, or use the command buttons to modify their actions (Ctrl+Left / Ctrl+Right with keyboard).
  4. You may inline edit commit message for "Reword" action.
  5. You may split commits with multiple files into smaller commits. Set "Edit" action for commit and press on scissors button near commit message.
  6. Before applying changes you can check for probable conflicts with "Check conflicts" button on toolbar.
  7. To find commits modifying same files select commit and click "Intersections" button on toolbar - main and dependant commits will be highlighted.
  8. You may undo / redo operations.
  9. Click a commit hash to open its diff in a diff editor.
  10. Save your changes and close window to continue rebase process.

Settings

The I-Rebase extension provides the following settings:

  • irebase.reverseOrder: Show commit list in reverse order (newer higher). Default is false.
  • irebase.actionViewKind: View kind of commit actions set. Available options are buttons (set of buttons) and dropdown (dropdown list). Default is buttons.
  • irebase.autoCheckConflicts: Automatically check the rebase plan for conflicts after every change (runs silently, results are highlighted in the editor). Default is false.

Requirements

  • Git must be installed and accessible from the command line
  • Works in VS Code 1.93.0+, Cursor and Antigravity IDE

Set the IDE as the Default Rebase Editor

To make your IDE the editor that pops up whenever you run git rebase -i in your terminal, use its CLI command:

git config --global core.editor "code --wait"

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft