Skip to content

In class demonstrations for the IP4RIoT Cluster, NMTAFE, Northbridge, WA

License

Notifications You must be signed in to change notification settings

NM-TAFE/civ-ipriot-in-class-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-class Demonstrations

The code developed in class will be uploaded here. Each semester's delivery for each lecturer is in a separate branch. To find your class, look for a branch named in the format yyyy/sn/lecturer. For example, for Semester 2 of 2023 with lecturer Raf, the branch would be 2023/s2/raf.

Recommended Workflow

This workflow is specifically tailored for working with this repository, which will be constantly updated by the lecturer during the class.

Initial Setup

  1. Clone this repository locally:

    git clone https://github.com/NM-TAFE/civ-ipriot-in-class-demos.git
    cd civ-ipriot-in-class-demos
  2. List all available branches to find your class:

    git fetch origin
    git branch -r
  3. Switch to the appropriate branch for your class:

    git switch -c local_class_branch origin/yyyy/sn/lecturer

Ongoing Work

  1. If you want to experiment with the code locally, create a new branch:

    git switch -c local_experiments
  2. Periodically, fetch changes from the upstream repository:

    git fetch origin yyyy/sn/lecturer
  3. Merge the changes from the upstream's class-specific branch into your local branch:

    git switch local_experiments
    git merge origin/yyyy/sn/lecturer

    or, if you want to keep your local branch's history clean, you can rebase instead of merge:

    git switch local_experiments
    git rebase origin/yyyy/sn/lecturer

    If there are any conflicts, you'll need to resolve them and continue the rebase using git rebase --continue.

  4. Remember not to push your changes to the upstream repository.

About

In class demonstrations for the IP4RIoT Cluster, NMTAFE, Northbridge, WA

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published