wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


devel:git:setup

Initial Git setup

Introduce yourself

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 you@yourdomain.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

Setting up Git for email

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

Default destinations

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 development@lists.ipfire.org

Disable certificate verification

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 ''
devel/git/setup.txt · Last modified: 2015/10/03 21:38 by MichaelTremer