Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

So changed Git's default editor, now how do i invoke it from Git bash?

Tags:

I've changed Git's default editor by applying the following to Git's global config:

core.editor='C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin 

Now, how do I simply invoke the "default editor" without initiating a commit ? I'm trying to test the settings/change I made.

Thanks!

Using Git version 1.8.1

like image 376
Leo Gurdian Avatar asked May 08 '13 23:05

Leo Gurdian


People also ask

How do I change the default editor in git bash?

The command to do this is git config --global core. editor "nano" . You can change the highlighted section with your editor of choice!

What is the default git system's default editor?

On Windows, if you use Git Bash the default editor will be Vim. Vim is another text editor, like nano or notepad.


1 Answers

Run

git config -e 

To edit the configuration in the default editor.

like image 190
SLaks Avatar answered Oct 14 '22 10:10

SLaks