Please provide the message via 'more' or 'less' option?

2026-06-09 04:340阅读0评论SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计110个文字,预计阅读时间需要1分钟。

Please provide the message via 'more' or 'less' option?

在mac中,使用`git commit --amend`可能会出现如下错误:

error: There was a problem with the editor 'vi'. Please supply the message using 'git commit -m'

这通常是因为Git找不到默认的编辑器或者编辑器设置不正确。

在mac中如果使用gitcommit–amend会出现如下错误error:Therewasaproblemwiththeedito

在mac中如果使用 git commit –amend会出现如下错误

error: There was a problem with the editor ‘vi’. Please supply the message using either -m or -F option.

原因是vi有问题需要为 git 换一个默认的编辑器比如 vim如下进行配置即正常了。

Please provide the message via 'more' or 'less' option?

git config --global core.editor "vim"

本文共计110个文字,预计阅读时间需要1分钟。

Please provide the message via 'more' or 'less' option?

在mac中,使用`git commit --amend`可能会出现如下错误:

error: There was a problem with the editor 'vi'. Please supply the message using 'git commit -m'

这通常是因为Git找不到默认的编辑器或者编辑器设置不正确。

在mac中如果使用gitcommit–amend会出现如下错误error:Therewasaproblemwiththeedito

在mac中如果使用 git commit –amend会出现如下错误

error: There was a problem with the editor ‘vi’. Please supply the message using either -m or -F option.

原因是vi有问题需要为 git 换一个默认的编辑器比如 vim如下进行配置即正常了。

Please provide the message via 'more' or 'less' option?

git config --global core.editor "vim"