开发者

Git is using Vim for Commit messages

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 VI开发者_如何学运维M been used.

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


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.


How can I set up an editor to work with Git on Windows?


It is normal and it has nothing to do with the flavour of windows that you are using.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜