Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

Re: [Q] submitting patches from gmail

From: Giuseppe Bilotta <hidden>
Date: 2016-06-15 22:45:30

On Saturday 18 October 2008 14:08, Leo Razoumov wrote:
Hi Everyone,
I wonder what is the preferred way to submit patches from a gmail account.
Google mail auto wraps long lines and there is no way to change this setting.
Safe way would be to use attachments. Are they allowed on git mailing list?
I've been sending patches from gmail for a while without problems. It took me
a while to find a working configruation, but I finally managed to do it using
msmtp. I have

[sendemail]
        smtpserver = /usr/bin/msmtp

in my ~/.gitconfig

and the following ~/.msmtprc

======
# Example for a user configuration file

# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log

# My email service
account gmail
host smtp.gmail.com
from yourgmailusername@gmail.com
auth on
user yourgmailusername
password yourgmailpassword

# Set a default account
account default : gmail
=========

And to send patches I just use something like

git send-email --to "git@vger.kernel.org" --cc "whoever" 00*

-- 
Giuseppe "Oblomov" Bilotta
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help