Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.09 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.09 KB

In class demonstrations: Semester 1, 2023

Code that is developed in class will be uploaded here.

Best way to work with this repository

  1. Clone this repository locally:
git clone https://github.com/NM-TAFE/civ-ipriot-in-class-demos.git
cd civ-ipriot-in-class-demos
  1. If you want to experiment on the code locally, create a new branch:
git checkout -b local_experiments
  1. Periodically, fetch changes from the upstream repository:
git fetch origin
  1. Merge the changes from the upstream's main branch into your local branch:
git checkout local_experiments
git merge origin/main
  1. If you want to keep your local branch's history clean, you can rebase instead of merge:
git checkout local_experiments
git rebase origin/main

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

By following this workflow, you can keep your local branch up to date with the upstream repository while making your own modifications. Remember not to push your changes to the upstream repository.