Git is using Vim for Commit messages

前端 未结 3 439
时光说笑
时光说笑 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.

提交回复
热议问题