Im using Vscode and Gitlens. I want to be able to do an interactive rebase. I have core.editor=code --wait
set. But when I try and run a rebase I get the text-based editor instead, like so:
Any ideas?
Please check if the interactive rebase editor option is checked from within the GitLens settings in VS Code:
Ctrl + Shift + P > GitLens: Open Settings
You should then be able to invoke the interactive rebase editor from both the VS Code command palette, or from the terminal as follows:
git -c sequence.editor="code --wait --reuse-window" rebase --interactive <base>
If you're on the VS Code Insiders edition, replace code
in the above with code-insiders
.