I am facing a perplexing problem where on Sourcetree I am getting an error while doing Interactive Rebase AND doing Ammend commit. The error I'm getting is as shown, error.
I've looked on the forums here and I've tried several solutions to no avail. The one that comes up the most is
git config --global core.editor "[your editor] -w"
I've tried VSCode and sublime with no luck. To the best of my knowledge, after pressing okay the external editor should pop up; however, it never does and goes to the error in the image attached. I've also confirmed that just typing in "code" into my terminal brings up VSCode so it looks like that path works.
Looking for any potential suggestions, that would be greatly appreciated!