git解决Could not execute editor

Posted YYRise

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git解决Could not execute editor相关的知识,希望对你有一定的参考价值。

我是安装k-vim后出现了这个问题,可能是vim的某些插件引起的

配置git的编辑器可解决:

git config --global core.editor "/usr/bin/vim"

 

以上是关于git解决Could not execute editor的主要内容,如果未能解决你的问题,请参考以下文章