我有一个问题,每当我运行git commit时,都会显示出来:
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.
Run Code Online (Sandbox Code Playgroud)
subl是崇高的别名。我在Win10上运行git Bash。
如果我只是运行' subl',它将打开编辑器而不会出现问题,但是使用git commit不会。这是我的git配置文件:
[core]
editor = subl -w -n
Run Code Online (Sandbox Code Playgroud)