我获得以下错误消息,当我试图为挤压运行git rebase -i
我承诺:Git的编辑错误
/usr/libexec/git-core/git-sh-setup: line 112: mate: command not found
如何混帐认准编辑器? 从git-sh-setup
文件,我只能看到这种方法:
git_editor() {
if test -z "${GIT_EDITOR:+set}"
then
GIT_EDITOR="$(git var GIT_EDITOR)" || return $?
fi
eval "$GIT_EDITOR" '"[email protected]"'
}
我添加了一些东西,如果这对你很好。 – c00kiemon5ter
当然,谢谢:) – bx2