Simply drag & drop to reorder commits and select which ones you want to edit, squash, or drop.
To use this directly from your terminal, e.g. when running git rebase -i
,
git config --global core.editor "code --wait"
git config --global sequence.editor "code --wait"
To use the Insiders edition of VS Code, replace
code
in the above withcode-insiders