Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git is using Vim for Commit messages

Tags:

git

vim

commit

I have just started using git and when I git commit it uses the VIM text editor to change write the commit message. Is this normal?

In the tutorials and examples I have read, nowhere has VIM been used.

Is it because I'm using windows 7 64 bit edition?

like image 928
P P Avatar asked Jul 12 '26 07:07

P P


1 Answers

If you did not set an editor via the $GIT_EDITOR environment variable, core.editor configuration variable, the $VISUAL or $EDITOR environment variables, it will use vi.

like image 94
Benjamin Bannier Avatar answered Jul 13 '26 22:07

Benjamin Bannier