Development using git:Email

From Alpine Linux
Revision as of 15:50, 4 July 2011 by Fab (talk | contribs) (Created page with "=== Email configuration === To be able send your commits (patches) via email you need configure an SMTP server. {{Cmd|git config --global sendemail.smtpserver smtp.exmaple.com}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Email configuration

To be able send your commits (patches) via email you need configure an SMTP server.

git config --global sendemail.smtpserver smtp.exmaple.com

For sending from a gmail address you can do:

git config --global sendemail.smtpserver smtp.gmail.com git config --global sendemail.smtpserverport 587 git config --global sendemail.smtpencryption tls git config --global sendemail.smtpuser your_email@gmail.com

Optionally, it is possible to skip the password prompt by adding it to the configuration with:

git config --global sendemail.smtppass your_password