Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Disable VSCode Git Rebase UI

How do I disable VS Code's Interactive Rebase UI?

VSCode Interactive Rebase

I'm hoping to return to the previous experience where running git rebase -i opens a text file into VS Code.

like image 432
Reed Dunkle Avatar asked Nov 17 '20 04:11

Reed Dunkle


People also ask

How do I turn off rebase in Visual Studio?

With the ctrl + shift + P command Git: Abort Rebase it even works without restarting VS Code.

How do I rebase in 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.

How do I disable VS Code in GitHub?

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.

How do you abort a rebase?

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.


2 Answers

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"
}
like image 98
awshelleyBeckman Avatar answered Oct 26 '22 06:10

awshelleyBeckman


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 or cmd+shift+p).

like image 43
Clintm Avatar answered Oct 26 '22 06:10

Clintm