CMSI 186: Welcome to Week 01

This Week's Class Agenda

GitHub for Fun and Profit…

GitHub is what is known as a configuration management tool. It is basically a sophisticated way to store and retrieve your files. You need an account, which is free, and once you have that you can create repositories or repos and store as much stuff as you want, also for free. Think of it: unlimited storage of all your code, documents, videos, books, everything.

For

Free

There are several ways to access GitHub. You can use the browser, which will be demonstrated in class and is a VERY easy way to get started. You can also use the command line from a terminal window, and this page will show you some typical commands to use, with explanations. There is also a thing called GitHub Desktop which you can install and use on your local computer. That will be shown in class as well.

Git Essentials Cheat Sheet

Installation

Note: the following instructions assume you are familiar with basic command line functions. You can review them at: this page.

These commands will work either for Mac or WIN using git bash. The $ indicates the terminal window prompt and is NOT part of the commands.

Configuring

Creating a Repository

Synchronizing Changes

Final Note

This is not an exhaustive list of git commands! If you want to get the most out of git, consider checking out a full cheat sheet at: this link.