Setting Up Git - OSX & Linux
Git is an incredibly powerful version control system designed to make development and collaboration much easier. This doc covers setting up Git in Mac OS X. After reading it, you will be familiar with:
- Installing & setting up Git in Mac OSX & Linux
There is also a doc for setting up git in Windows.
If you're reading this doc, chances are you're new to Git. After you get everything setup, here's a few educational resources that will help you get started:
Download and Install Git
Download and install the latest version of Git.
Now that Git is installed, you'll want to configure your Git username and email. This is what's used to track commit histories and authors for your repos.
By telling Git your username, it can properly indentify you as the author of the commits you make. To set your Username, run the following in Terminal:
Set Your Git Username Terminal
$ git config --global user.name "your name here"
By telling Git your email, it can properly indentify you as the author of the commits you make and tie the appropriate Gravatar to the commits. To set your Email, run the following in Terminal:
Set Your Git Email Terminal
$ git config --global user.email "email@example.com"
Setup Your SSH Key
Once Git is installed, you need to set up your SSH key.
If you have any questions, suggestions, or corrections, let us know.