Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable VSCode Interactive Editor

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:

enter image description here

Any ideas?

like image 601
felix001 Avatar asked Jan 21 '26 18:01

felix001


1 Answers

This worked for me. just execute the following command on your terminal

git config --global sequence.editor "code --wait --reuse-window"

Now execute the following command on VS Code Terminal to get GitLens Interactive editor.

git rebase -i <branch_name>
like image 88
Omar Avatar answered Jan 23 '26 09:01

Omar