Visual Rebase
Simplify interactive git rebase with an easy-to-use visual editor directly inside Visual Studio Code.
Features
- Auto-activation: Automatically intercepts
git-rebase-todo files when you start an interactive rebase.
- Multi-Editor Support: Works seamlessly out of the box with VS Code, VSCodium, Cursor, and custom forks without modifying your global git config.
- Clean Interface: Say goodbye to manually editing text files. Manage your commits through a modern UI.
- Safe Abort: Easily cancel the rebase process directly from the interface without worrying about left-over git lock files.
Configuration
visualRebase.editor: Editor to use for git rebase in integrated terminal (auto, code, codium, cursor, custom). Default is auto.
visualRebase.customEditorCommand: Custom command/binary when editor is set to custom.
How to use
- Start interactive rebase in your terminal
git rebase -i HEAD~X # X - count of commits
- Extension window will open in your editor
Requirements
- Visual Studio Code v1.110.0 or higher.
- Git installed and available in your system's PATH.
Installation
- Download the latest
.vsix file from the Releases page.
- Open VS Code and go to the Extensions view (
Ctrl+Shift+X / Cmd+Shift+X).
- Click the
... (Views and More Actions) menu at the top right of the Extensions panel.
- Select Install from VSIX... and choose the downloaded file.
| |