使用git config设置: 12 git config --global core.editor vim git config core.editor vim # 当前项目设置 使用环境变量GIT_EDITOR: 1 export GIT_EDITOR=vim 赞微海报分享
近期评论