Skip to content

Starter repos for in-class coding done during INFO 343-E, Autumn 2015

Notifications You must be signed in to change notification settings

cnguyen0/info343-class-code

 
 

Repository files navigation

INFO 343-E In-Class Code

Students should fork this repo into their own accounts so that they can code along with me and commit/push their code to their own GitHub accounts.

Pulling Updates

Periodically I will ask you to pull new commits from this original repo to pick up new directories and file stubs. To do this, follow the appropriate set of instructions below.

On A Lab Machine?

The lab machines reset each time you log out, so you need to setup your environment from scratch every time:

$ git config --global user.name "your name"
$ git config --global user.email "your email"
$ git config --global core.editor nano

$ git clone <your-forked-repo-url>
$ cd info343-class-code

$ git remote add upstream https://github.com/drstearns/info343-class-code.git

$ git pull upstream master

The last command will typically trigger a merge commit and put you into the nano editor to confirm the commit message. Hit ctrl+x to exit the editor and return to the command prompt.

On Your Own Laptop?

If you are on your own laptop, you should do these commands only once:

$ git config --global user.name "your name"
$ git config --global user.email "your email"
$ git config --global core.editor nano

$ git clone <your-forked-repo-url>
$ cd info343-class-code

$ git remote add upstream https://github.com/drstearns/info343-class-code.git

Then each time you need to pull from the my original repo, run these commands:

# change into your local repo directory
$ cd info343-class-code

# check for any uncommitted changes
# and commit if necessary
$ git status

# pull new commits from the upstream repo
$ git pull upstream master

About

Starter repos for in-class coding done during INFO 343-E, Autumn 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.0%
  • Objective-C 18.3%
  • CSS 9.5%
  • C++ 8.4%
  • Java 5.8%
  • C# 2.2%
  • Other 1.8%