I had been successfully running the command git rebase main -i
to rebase my work but out of the blue (or at least I didn't notice if I did anything to change the environment) I start getting the following error:
hint: Waiting for your editor to close the file... error: There was a problem with the editor ''/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/git/dist/scripts/git-editor.sh''.
All other git commands like git commit
etc. work normally.
The only other search results I got from stackoverflow are: How can I fix git commit error "Waiting for your editor to close the file..." with VS Code? but that error was for git commit
and I did try the suggestions in there like running:
git config --global core.editor "code --wait"
with both single and double quotes. Does anyone have any idea or suggestions on how to resolve this?