First,this is NOT DUPLICATE from How to use Visual Studio Code as Default Editor for Git.
I followed that setup carefully but had other problem.
After I run git rebae -i HEAD~3,
It quickly prompts Successfully rebased and updated refs/heads/myBranch. without stopping for the middle steps, while left a unsaved empty git-rebase-todo file open.
It CAN open the core editor normally but it doesn't wait, but I DO add --wait in gitconfig.
Any one can help me out?
Tried set sublime 3 as core editor, no luck.


code --helpandgit config --global -edoes it open in vs code and does the console wait?code --helpseems to be an invalid command.git config --global -edoes open the editor and wait.code --helpnot working suggests to me vs code is missing in path. but thengit config...opening just fine in vs code. not sure how this works on mac. maybe try add to path