Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.04 KB

02-setup.md

File metadata and controls

46 lines (28 loc) · 1.04 KB

Git 2: Setup

Install

Mac

  1. Install XCode Command Line Tools which contains git.

    xcode-select --install
    
  2. Open Terminal and check if git is installed.

    git --version
    
  3. If there are any issues with installing git via XCode CLT, git can also be installed via homebrew using brew install git.

  4. Make sure you have the PS1 and EDITOR environment variables set. We did this on Day 1: ../commandline/04-unix.md#-example-permanently-setting-an-environment-variable

  5. Make sure sublime text is installed properly. ../setup.md

Windows 10

  1. See windows.md
  2. Follow Ubuntu instructions

Ubuntu

  1. Install Git
sudo apt-get install git

Setup

  1. Configure git with your name and email address. Be sure to use the same email associated with your Github account.

    git config --global user.name "YOUR NAME"
    git config --global user.email "YOUR EMAIL ADDRESS"