Skip to content

Install/Configure

Installation

Install Git for any platform http://git-scm.com

Configuration

Set user name and email that is shown in version history.

git config user.name "Firstname Lastname"
git config user.email "my-email@domain.com"
Options git config

--global set user.name for all, not just the current repository

Automatic command line coloring.

git config --global color.ui auto

To ignore some files create a .gitignore with desired patterns as with either direct string matches or wildcard globs.