← 返回命令列表

Linux command

git-imap-send 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Send patches via IMAP

git format-patch origin | git imap-send

Send from file

git imap-send < [patches.mbox]

说明

git imap-send uploads patches to an IMAP drafts folder, enabling review and composition of patch emails in your email client before sending. It reads mbox-formatted patches from stdin and uploads them to the configured IMAP server. This supports the email-driven patch submission workflow used by projects like the Linux kernel, where patches are reviewed on mailing lists rather than through web-based pull requests.

参数

--curl
Use libcurl for IMAP.
-v, --verbose
Verbose output.
-q, --quiet
Quiet mode.
--help
Display help information.

FAQ

What is the git-imap-send command used for?

git imap-send uploads patches to an IMAP drafts folder, enabling review and composition of patch emails in your email client before sending. It reads mbox-formatted patches from stdin and uploads them to the configured IMAP server. This supports the email-driven patch submission workflow used by projects like the Linux kernel, where patches are reviewed on mailing lists rather than through web-based pull requests.

How do I run a basic git-imap-send example?

Run `git format-patch origin | git imap-send` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --curl do in git-imap-send?

Use libcurl for IMAP.