Some information about installing and using Git
You can either use the desktop GUI software (available here) or the command line software.
If you want to use the command line software, first check if it is already installed in your system (the following instructions are for Mac OS).
Open Terminal and at the command prompt type:
git –version
If your system returns:
git: command not found
Then you will need to install it, you can find the appropriate version and instructions here.
Once you have run the installer, close and re-open Terminal and type:
git –version
Your system should return the version number (e.g., git version 2.3.5), if it doesn’t try re-running the installer and read the readme file included with the installer.
You can also install git with Homebrew or MacPorts if you prefer.
Once git is installed, you can clone the repository for the class. To do so, navigate to the directory where you would like the cloned directory repository to be stored, e.g.,
cd ~/Desktop/
then type
git clone https://github.com/jcdevaney/msp2017
to which your system should respond something like
Cloning into ‘msp2017’…
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
Checking connectivity… done.
For the moment, you’ll just be syncing new files that I upload, rather than contributing new ones, so the only command you’ll need to use to update your version of the repository to the current version is
git fetch
this is preferable to using ‘git pull’, since ‘fetch’ won’t over-write any local changes you have made.