Basic setup for git send-email

git config

Substitute *@email.provider with your own. Not that the sendemail.smtpuser, sendemail.from and user.email does not necessarily have to be the same. Note the differencenet.

git config --edit --global
[sendemail]
    verify = off
    annotate = yes
    smtpserver = smtp.email.provider
    smtpuser = your_account@email.provider
    smtpencryption = ssl
    smtpserverport = 465
    from = you@email.provider

git send-email and options

[COMMAND]
    git send-email --to="rec@email" <REF>

[REF]
    e.g. HEAD~ , HEAD^2, <commit id>

[EMAIL OPTS]
    -v<n> patch version (in the subject)
    --subject-prefix=<str> e.g. "PATCH v4"
    -l<n> log e.g. -l4 (changes since v1 etc..)
    --cc/--bcc=<addr>
    --from=<addr>
    --reply-to=<addr>
    --compose: invoke editor
    --reply-to=<addr>
    --in-reply-to=<id>
    --subject=<str>
    --to option, among others can be specified multiple times

clients (WIP)

(mutt): launch (neomutt) in the repo, select the patch from inbox, type | git am to apply the patch.