H
H
Heretic Man2019-02-16 21:43:21
linux
Heretic Man, 2019-02-16 21:43:21

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"

when editing or commit swears
C:/Program Files/sublime text 3/subl.exe: not found

As I understand it, the path is simply not the same, because it is a subsystem.
Help plz!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2019-02-16
@2ord

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 question

Ask a Question

731 491 924 answers to any question