Skip to content

lab 1 Setup


Setup Name and Email

If you have never used git before, you need to do some setup first. Run the following commands so that git knows your name and email. If you have git already setup, you can skip down to the line ending section.


git config --global "Your Name"
git config --global ""

Setup Line Ending Preferences

Also, for Unix/Mac users:


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

And for Windows users:


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

Setup Ruby

For this tutorial you need a working Ruby interpreter. If you havenĀ“t one installed yet, it is time to set it up now: