Introduce yourself
First, introduce yourself to git. That means we tell git our name and email address. Please use "FirstName LastName" and name@domain.org email address. This is needed because every Git commit uses this information. The information is added into the commits you start creating. You need to do this only once (when using the --global
option).
git config --global user.name "FirstName LastName"
git config --global user.email name@domain.org
Note - You must use a working, non-trash email address to submit patches. Also pick one that is long-lived so that people can contact you later. An [Michael Jackson](//users/ipfire).org
email address is not required for patch submission. You can of course use your own private git repository.
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 ssl
git config --global sendemail.smtpserver submissions.ipfire.org
git config --global sendemail.smtpserverport 465
git config --global sendemail.smtpuser USERNAME
Check the git config settings
To check the configuration settings use the --list
option to list the above settings.
git config --list