Answer the question
In order to leave comments, you need to log in
How to configure core.editor in Ubuntu subsystem in Windows 10 for git?
I put myself a Linux subsystem for windows, I'm just overjoyed. But I can't set up an editor in git.
I do it like this
git config --global core.editor "'C:/Program Files/sublime text 3/subl.exe' -w"
C:/Program Files/sublime text 3/subl.exe: not found
Answer the question
In order to leave comments, you need to log in
Windows programs cannot be called from the WSL subsystem, only Linux programs.
One of the simplest editors on Linux is nano (text mode).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question