by severus_snape · 3y ago · 0 comments
# do your code change
git commit
git send-email --to=<some mailing list> -1
# amend your change
git commit --amend
git send-email -v2 --to=<some mailing list> -1
I'm not sure what is needlessly annoying and absurd.Edit with minimal configuration:
cat ~/.gitconfig
[user]
email = your@mail.address
name = Your Name
[sendemail]
smtpuser = your@mail.address
smtpserver = smtp.whatever.com
smtpserverport = 587
smtpencryption = tlshttps://git-send-email.io/#step-2
A tool from Google is mentioned and linked to:
https://github.com/google/gmail-oauth2-tools/tree/master/go/...
cat .gitconfig
# snip
[sendemail]
to = default@list.example.com
annotate = yes
suppresscc = self
smtpencryption=tls
smtpserver=imap.example.com
smtpserverport=587
smtpuser=foo.bar@example.com
(only the ones starting with "smtp" are relevant for mail, the other ones are just there for convenience)And that has to be done once, iow., in essence it's as hard a setting up an email fat client like thunderbird.