A
A
Alexey Yarkov2016-02-10 00:52:36
git
Alexey Yarkov, 2016-02-10 00:52:36

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.

And what else does he need?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-02-10
@yarkov

https://scotch.io/tutorials/open-sublime-text-from...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question