1. Preparation
Goals
- 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.
Run:
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:
Run:
git config --global core.autocrlf input git config --global core.safecrlf warn
For Windows users:
Run:
git config --global core.autocrlf true git config --global core.safecrlf warn