修改git提交信息到编辑器为vim

来源:互联网 发布:爱淘宝怎么返利多少 编辑:程序博客网 时间:2024/06/05 18:35

修改git提交信息到编辑器为vim

  git  commit -m 默认使用nano,觉得不爽,改成vim吧。在 .gitconfig (在根目录下)的  [core] 段中加上 editor=vim 。

原创粉丝点击