问题
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?
回答1:
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
.
回答2:
How can I set up an editor to work with Git on Windows?
回答3:
It is normal and it has nothing to do with the flavour of windows that you are using.
来源:https://stackoverflow.com/questions/4579852/git-is-using-vim-for-commit-messages