Since Git was designed for the mailing-list heavy workflow of the Linux kernel development community,
it has commands that make it easy to transform a commit (also known as a patch) into an email and vice-versa.
For example, git format-patch
, git am
,
git send-email
and git imap-send
.
While git send-email
can be used to send a list of patches prepared using git format-patch
to a development mailing list via an SMTP server,
git imap-send
is designed to upload git format-patch
-prepared patches to an IMAP folder, so that they can then be sent using a regular
mail client (maybe after tweaking the cover letter or the
in-patch commentaries).