git config --global core.editor vim
vim .git/config core 添加 editor=vim
本文标题:将git commit的默认编辑器从nano转为vim
本文链接:https://www.haomeiwen.com/subject/bylwnftx.html
网友评论