美文网首页
将git commit的默认编辑器从nano转为vim

将git commit的默认编辑器从nano转为vim

作者: insist_coder | 来源:发表于2018-09-19 20:29 被阅读0次

    应用到整个系统

    git config --global core.editor vim

    只针对某个工程

    vim .git/config core
    添加 editor=vim

    相关文章

      网友评论

          本文标题:将git commit的默认编辑器从nano转为vim

          本文链接:https://www.haomeiwen.com/subject/bylwnftx.html