Initial Git Setup
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 @ipfire.org email address is not required for patch submission. You can of course use your own private git repository.
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
Note - The SMTP configuration shown above is for IPFire developers with an @ipfire.org email account. If you are an external contributor, configure git send-email using the SMTP server, port, encryption, and credentials of your own email provider, using the same email address subscribed to the development mailing list.
Note - Using --global applies these settings to all git repositories. To configure them for the current repository only, clone it first and run the commands inside its directory without --global.
Check the git config settings
To check the configuration settings use the --list option to list the above settings.
git config --list