Answer the question
In order to leave comments, you need to log in
How to use sublime to generate commits?
Added to git config: Added $ git config --global core.editor "subl -n -w"
path to subl in PATH:
C:\Program Files\Sublime Text 3
Command from under Windows EXECUTE works, sublime starts. When trying to open the editor from git, we get the following error:
$ git commit
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
subl -n -w: subl: command not found
error: There was a problem with the editor 'subl -n -w'.
Please supply the message using either -m or -F option.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question