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 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 "FirstName LastName"
git config --global

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 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
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
Edit Page ‐ Yes, you can edit!

Older Revisions • November 20 at 8:47 am • Arne.F