1. Preparation


  • To be fully prepared to work with Git.

01 Setting up name and e-mail address

If you've never used git before, first you need to set up your name and e-mail. Run the following commands to let git know your name and e-mail address. If git is already installed, skip down to the end of the line.


git config --global user.name "Your Name"
git config --global user.email "your_email@whatever.com"

02 Installation Options line endings

Also, for users of Unix/Mac:


git config --global core.autocrlf input
git config --global core.safecrlf warn

For Windows users:


git config --global core.autocrlf true
git config --global core.safecrlf warn