Git: Abort Merge / Rebase / Cherry-Pick

git.abortOperation

Abort the merge, rebase, cherry-pick or revert in progress and go back to the state before it.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for Git: Abort Merge / Rebase / Cherry-Pick, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.

See also