In this exercise, you'll learn the basic Git workflow for contributing to a project. Follow these steps:
-
Fork the Repository
- Visit: https://github.com/kthcloud/Computer-Science-Workshop/
- Click the "Fork" button in the top-right corner
-
Clone Your Fork
git clone https://github.com/YOUR-USERNAME/Computer-Science-Workshop.git
cd Computer-Science-Workshop
- Create a New Branch
git checkout -b your-name
- Create a File with a Unique ID
# Generate a UUID and save it to a file
curl https://httpbin.org/uuid > your-name.txt
- Stage and Commit Your Changes
git add your-name.txt
git commit -m "Add unique identifier file"
- Push to Your Fork
git push origin your-name
- Create a Pull Request
- Go to the original repository: https://github.com/kthcloud/Computer-Science-Workshop/
- Click "Pull Requests" → "New Pull Request"
- Choose your fork and branch
- Submit the pull request