1 Goals

  • These instructions essentially follow Happy Git with R (still very useful for non-R users!). If you run into any issues try looking there first.
  • If you still have problems let me know. I can meet with people who are still having problems before our Monday meeting

The goal before we meet is to have the following done:

  1. Set up a Github account
  2. Install Git on your computer
  3. Configure your user name and email on Git
  4. Install a Git client/GUI (we’ll use GitKraken)
  • You may need to install a shell on your computer if you’re on Windows. Mac users can just use the Terminal app (which should already be on your compouter)

2 Setting up Git and Github

2.1 Set up a Github account

2.2 Install Git

2.3 Introduce yourself to Git

Run the code below in your shell.

  • user.name: use some version of your real name so we know who is making changes
  • user.email: use the email associated with your Github account

For example

git config --global user.name 'weiyangtham'
git config --global user.email 'weiyang.tham@gmail.com'

Now type in git config --global --list and see if you get the same output as I do

git config --global --list
## user.email=weiyang.tham@gmail.com
## user.name=weiyangtham

3 Git client

  • GitKraken is a good option for us as it works across all Windows, Mac, and Linux
  • Minimize having to deal with command line, but can still do stuff from the command line if you have to
  • DO NOT use the free Github client
  • I’ll stick with GitKraken for the workshop, but there are more Git clients here