How do I disable VS Code's Interactive Rebase UI?
I'm hoping to return to the previous experience where running git rebase -i
opens a text file into VS Code.
With the ctrl + shift + P command Git: Abort Rebase it even works without restarting VS Code.
Once you have your commits ready, we can click the Start Rebase button. You will then be presented with a screen in VS Code to reword your commit message. Write your new message, and save and close the file to continue. After this, our rebase is complete.
Go to settings (shift+CMD+P MacOS) and search github authentication . Remove the checkbox for Controls ... enable automatic Github authentication.. and VSCode should stop popping up the Github/Microsoft login.
You can run git rebase --abort to completely undo the rebase. Git will return you to your branch's state as it was before git rebase was called. You can run git rebase --skip to completely skip the commit.
According to this issue, this is actually caused by the GitLens extension, not VSCode. You can fix it by adding this to your settings.json:
"workbench.editorAssociations": {
"git-rebase-todo": "default"
}
This changed in GitLens version 11.0.2: https://github.com/eamodio/vscode-gitlens/discussions/1260
To disable the Interactive Rebase Editor use the
GitLens: Disable Interactive Rebase Editor
command from the command palette (ctrl+shift+p
orcmd+shift+p
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With