Configuring Your Name and Email Address
You should tell git your name and email address. You have probably done this already, but if not, run these commands:
git config --global user.name "My Name" git config --global user.email "myemail@example.com"
Configuring the Mail Sending Options
git send-email sends the emails through your SMTP server, so you need to configure the server parameters. Refer to your email provider documentation to find the right parameters. This is how I would configure my mail settings:
git config --global sendemail.smtpencryption tls git config --global sendemail.smtpserver mail.messagingengine.com git config --global sendemail.smtpuser tanuk@fastmail.fm git config --global sendemail.smtpserverport 587 git config --global sendemail.smtppass hackme
Storing the password in the git configuration file is obviously a security risk. It's not mandatory to configure the password. If it's not configured, git send-email will ask it every time the command is used.
Configuring the Default Destination Address
For PulseAudio, the patches should be sent to our mailing list. In order to avoid having to remember it and retyping it all the time, you can configure the address to be used by default by git send-email. As you may contribute to many projects using git, it does not make sense to set this option globally so instead we'll only set it in our clone of the PulseAudio code.
Read full article from HowToUseGitSendEmail
No comments:
Post a Comment