This repository contains the demo code covered in class.
- Each week includes both a solution folder and a starter code folder.
- If you’d like to follow along during lecture, pull down the starter code for that week.
- I will be updating this every week with new Demo material to match the pace of the course.
- Clone the repository once (the first time you set it up):
git clone <repository-url> cd AD320WebDevLectureCodeFall2025
- At the start of each class, pull the latest updates:
This will fetch the newest lecture code.
git pull
To avoid overwriting your personal changes when new code is pushed, use one of these approaches:
- Create a new branch for your changes:
git checkout -b my-work
- Do your work on this branch.
- When you need the latest class updates:
Your branch will now include the newest lecture code without losing your changes.
git checkout main git pull git checkout my-work git merge main
- On GitHub, click Fork to create a copy in your own account.
- Clone your fork:
git clone <your-fork-url>
- Work freely in your fork.
- If you want to fetch updates from the class repository, add it as a remote:
Either approach protects your work while letting you keep up with new lecture code.
git remote add upstream <class-repo-url> git fetch upstream git merge upstream/main