COMP 2152 – Fix Lab Repository | Remove Unwanted Folders from Your GitHub Repo

Опубликовано: 18 Июнь 2026
на канале: DevWithMaz
63
0

In this video, I'll show you how to fix your COMP 2152 lab repository by removing folders or files that were accidentally added — such as assignment folders that belong in a separate repository.
What you'll learn:

How to identify misplaced folders in your lab repo
How to back up your files before removing them
How to use terminal commands (rm, cp) to clean up your repository
How to commit and push the fix to GitHub

Key commands used:
ls -la
cp source destination
rm -rf folder_name
git add .
git commit -m "fix the lab repo"
git push
Important reminders:

Your lab work goes in the COMP 2152 Labs repository
Your assignments go in the COMP 2152 Assignments repository
If you're on Mac, use the default terminal
If you're on Windows, use Git Bash

If you have any questions, feel free to reach out!
#COMP2152 #GitHub #Git #LabRepository #GeorgeBrown #VersionControl #Programming