aleitch1.github.io

INST377-FA2020

This is the lab support repository for the Fall 2020 version of INST377.

The following steps are to do the following:

At the end of these instructions, your github pages repository should look like a copy of this repository. You can then work on your labs locally, push to your own remote, and pull changes I make here into your repos without wrecking your work.

It’ll be great! But it is tricky to get there.

Installation

Keeping Up To Date With The Course Repository

Github Pages

So: First, get set up with Github Pages by following the instructions present here: https://pages.github.com/

Back to VSCode —> This portion is experimental.

In your terminal window, in your copy of this repository (folder) - it should be called “INST377-FA2020”:

A Slight Problem: Github Desktop Does Not Like This Situation

It will not let you keep tabs on both remotes at once, there’s a four-year-long conversation on the topic available below if you care. Link For Reference: Github Desktop supports only one remote

To set your repository remote (where you publish code to) in GH Desktop

How It Should Look When You’re Done

Last Steps: Making Sure You Can Push From GH Desktop

Back in the VSCode terminal in your repository, type git pull origin master --allow-unrelated-histories

How To Update Your Own Remote From The Main Lab Files

You will need to pull from the class repository periodically as we go through the semester, though hopefully not for the first few weeks. To do this, in VSCode: