How do I get the lecture code?

See the how-to video ‘Clone the lecture code’.

How do I fork the assignments, labs, and homework?

See lab 1 and the how-to video ‘Lab 1: Hello World’.

How do I get updates made by the lecturer, such as corrections to labs?

  • For updates to the lecture code, your version is just a clone, so you can simply pull the latest update.
  • For updates to the other projects, you have a fork so you need to do what’s called an upstream pull.
    • Lab 2 explains how to do this for most of your projects.
    • Lab 4 explains how to do this for assignment 2, which is a group project, so slightly different.

How do I throw away changes I made locally (but didn’t commit)?

How do I throw away a commit I did locally (but haven’t pushed)?

How do I throw away a commit I have already pushed?

How do I throw away my local clone of a repo?

See the how-to video ‘Re-cloning a repo’.

How do I throw away my fork of a repo?

See the how-to video ‘Re-forking a repo’.

Updated:    12 Jan 2021 / Responsible Officer:    Head of School / Page Contact:    Steve Blackburn