Should I provide the message using 'more' or 'fewer' options?

2026-04-02 00:200阅读0评论SEO基础
  • 内容介绍
  • 文章标签
  • 相关推荐

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

Should I provide the message using 'more' or 'fewer' options?

在Mac上使用git commit --amend时,若出现如下错误:

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

请检查你的vi编辑器是否配置正确或使用其他文本编辑器来提交更改。

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

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

Should I provide the message using 'more' or 'fewer' options?

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

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

git config --global core.editor "vim"

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

Should I provide the message using 'more' or 'fewer' options?

在Mac上使用git commit --amend时,若出现如下错误:

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

请检查你的vi编辑器是否配置正确或使用其他文本编辑器来提交更改。

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

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

Should I provide the message using 'more' or 'fewer' options?

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

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

git config --global core.editor "vim"