Code that is developed in class will be uploaded here.
- Clone this repository locally:
git clone https://github.com/NM-TAFE/civ-ipriot-in-class-demos.git
cd civ-ipriot-in-class-demos
- If you want to experiment on the code locally, create a new branch:
git checkout -b local_experiments
- Periodically, fetch changes from the upstream repository:
git fetch origin
- Merge the changes from the upstream's main branch into your local branch:
git checkout local_experiments
git merge origin/main
- 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.