Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git rebase shortcutsNew to Visual Studio Code? Get it now.
Git rebase shortcuts

Git rebase shortcuts

Trent Rand

|
11,684 installs
| (4) | Free
Use keyboard shortcuts to edit an interactive git rebase
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Rebase (Visual Studio Code Extension)

Use keyboard shortcuts to quickly edit the actions of an interactive Git rebase.

Extension Preview

How to Use

Press the key that correspondence to your desired git rebase action. This command will be applied to all selected lines.

Keyboard shortcuts:

  • p sets command to 'Pick'
  • r sets command to 'Reword'
  • e sets command to 'Edit'
  • s sets command to 'Squash'
  • f sets command to 'Fixup'
  • x sets command to 'Execute'
  • d sets command to 'Drop'

Known Issues

No currently known issues. Please open a ticket on GitHub for any bugs.

Release Notes

Release notes for all versions can be found in the changelog.

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