Git is using Vim for Commit messages

前端 未结 3 393
时光说笑
时光说笑 2021-01-22 05:29

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

相关标签:
3条回答
  • 2021-01-22 06:20

    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.

    0 讨论(0)
  • 2021-01-22 06:25

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

    0 讨论(0)
  • 2021-01-22 06:30

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

    0 讨论(0)
提交回复
热议问题