How to pull the latest code from Github

GIT INSTALLATION

(Mac laptop should come with git pre-installed)

Reference: https://confluence.atlassian.com/bitbucket/set-up-git-744723531.html

CLASS CODEBASE

link: https://github.com/xyfeng/expressing-data

STEPS

( Git is a language/tool for people to write code in a collaborated way, we only use it to store our example code, you can always¬†download the whole package by click on the zip link. Please don’t modify any file inside the repository folder, always make a copy outside of the folder, unless you know how to use git properly)

  1. Open Terminal App
  2. Go to a folder where do you want to put the repository, for example: cd Desktop
  3. Pull the latest code from the remote server: git clone https://github.com/xyfeng/expressing-data.git
  4. When there is an update of the code, instead of downloading the whole package, you can use these command to pull the latest code, first of all, make sure you are in the folder of the repository, for example: cd Desktop/expressing-data then pull the latest code: git pull