Defining the default editor

Some people really don't like vim, even only for writing commit messages; if you are one of them, there is good news: you can change it by setting the core.default config parameter:

[1] ~/grocery (master) 
$ git config --global core.editor notepad 

Obviously, you can set nearly all available text editors on the market. If you are a Windows user, remember that the full path of the editor has to be in the PATH environment variable; basically, if you can run your preferred editor by typing its executable name in a DOS shell, you can use it even in a Bash shell with Git.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.70.101