Welcome to the Classroom Repository! This repository is designed for teaching version control and collaborative coding in a classroom setting.
Follow these steps to get started with the exercises:
- Click on the "Fork" button in the top right corner of this repository to create your own copy.
Clone your forked repository to your local machine using the following command:
git clone https://github.com/your-username/ClassroomRepo.git
Inside the cloned repository, make changes to the sample_code.py file or add new files (try to use the command line where possible).
Make sure you use Git to confirm your changes:
git status
Commit your changes and push them to your forked repository:
git add .
git commit -m "Describe your changes here"
git push origin main
On the GitHub page of your forked repository, click on the "New Pull Request" button. Provide a meaningful title and description for your pull request. Click "Create Pull Request."
In some exercises, conflicts may intentionally be introduced. If conflicts occur, follow these steps:
- Pull changes from the main repository:
git pull https://github.com/your-username/ClassroomRepo.git main
- Resolve conflicts locally.
- Commit and push the changes.