Git rebase can't use notepad++ folder does not exist/git proceeds regardless of notepad++

20 views Asked by At

as titled.

git commit

git rebase -i

all are unsuccessful

Looking in process monitor I was able to see that notepad initially successfully reads the file and then in the mean time the folder is deleted. This is a strange behavior and I couldn't proceed from that. After setting notepad as default editor, this behavior was gone. So notepad++ was the issue

reinstalling notepad++

using full notepad++ path

1

There are 1 answers

0
nopeless On

Step 1. use full path of notepad++

Step 2. add -multiInst for the argument for notepad++

[core]
    editor = \"C:/Program Files/Notepad++/notepad++.exe\" -multiInst -notabbar -nosession