I have a problem in which whenever I run git commit this shows up:
error: cannot spawn subl: No such file or directory error: unable to start editor 'subl' Please supply the message using either -m or -F option. subl is an alias for sublime. I am running git Bash on Win10.
If I just run 'subl', it opens the editor without a problem, but with git commit it doesn't. Here is my git config file:
[core] editor = subl -w -n