【问题标题】:git: 'send-email' is not a git command. See 'git --help'git: 'send-email' 不是 git 命令。见'git --help'
【发布时间】:2012-11-24 15:43:53
【问题描述】:

我正在尝试使用git send-email 发送补丁,但出现以下错误:

git: 'send-email' is not a git command. See 'git --help'.

如何让git send-email 工作?

相关链接:

http://www.kernel.org/pub/software/scm/git/docs/git-send-email.html

【问题讨论】:

标签: git


【解决方案1】:

您需要安装git-email 软件包才能使其工作。

Ubuntu 上,通常的apt-get install git-email 工作正常。我也可以为Fedora 确认相同的情况(yum install git-email)。

cebewee 在 cmets 中提到了理由:

Linux 发行版通常喜欢拆分软件包以避免 只有可选功能(如发送电子邮件)才需要依赖项。

请注意,您必须在开始之前configure

【讨论】:

  • 有趣的是,作为一个拥有 msysgit-for-windows 的人,所有这些都在一个包中。
  • Linux 发行版通常喜欢拆分包,以避免仅由可选功能(如发送电子邮件)所需的依赖关系。
猜你喜欢
  • 2012-04-24
  • 2019-01-25
  • 1970-01-01
  • 2019-02-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-04-26
  • 2019-07-05
相关资源
最近更新 更多