At first you have to introduce yourself to git. That means we tell it our name and mail address. (Please use “First Name Second Name” and your @ipfire.org address)
git config --global user.name "Your Name Comes Here" git config --global user.email email@example.com
Please note that you need to use a working and a non-trash email address if you submit patches. Also pick one that is long-lived so that people can contact you later.
If you want colourful output you can use the following command:
git config --global color.ui auto
git config --global sendemail.smtpencryption tls git config --global sendemail.smtpserver mail01.ipfire.org git config --global sendemail.smtpserverport 587 git config --global sendemail.smtpuser USERNAME git config --global sendemail.smtppass PASSWORD
If you are sending email to always the same destination, you may set this up as default to not be prompted enter the same destination over and over again. It does not make sense to do this globally, but for the main IPFire repositories this would be:
git config sendemail.to firstname.lastname@example.org
On systems running IPFire 2 the SSL certificate of the mail server cannot be verified. To disable verification run the following command:
git config --global sendemail.smtpsslcertpath ''