Lab 1: Pre-lab¶
GitHub is a web-based hosting service for Git repositories. In this course, we are going to use GitHub Classroom, a service that makes it easy to create coursework repositories and is well-integrated with Gradescope. While much of the workflow will be similar to working with GitLab—which many of you used in CS 151—a few things will be different. We will cover these differences in Lab #1.
There are three short tasks that you need to do BEFORE you attend lab on Tuesday, March 29th to make sure you can make progress during lab and aren’t just sitting around waiting for your repository to be created.
Task 1
Get a Guthub account. If you already have a GitHub account, please move on to the next step.
If you do not have a GitHub account please create one one now. You can get an account here: https://github.com/join. We encourage you to use your CNetID as your GitHub account name, if possible. If that name is already taken, try using your CNetID as a prefix in your Github username.
Task 2
Open a browser window and log into Github.
Task 3
We will be using one repository for all the labs. We have provided an
invitation URL on Ed Discussion that you will use to request your labs
repository. The repository will called XX-GITHUB_USERNAME inside our
uchicago-cmsc15200-win-22 organization on GitHub. For example, if
your GitHub username is jrandom
, the repository will be called
labs-jrandom
. This repository will be private, and can only be
viewed by you and the CS 152 course staff.
When you open the invitation URL in a browser tab, you will have to complete the following steps:
Github may ask you to grant permission for GitHub Classroom to have access to your GitHub account. If you are asked this question, you should say yes and grant access to Github Classroom.
You will need to select your CNetID from a list. This step will allow us to know which student is associated with each GitHub account. This step is only done for the very first assignment invitation you accept.
You must click “Accept this assignment” or your repository will not actually be created. Do not skip this step!
If you run into any issues, please ask for help.
You may receive email from GtHub saying that the “@github-classroom[bot] has invited you to collaborate on the uchicago-cmsc15200-spr-22/labs-username repository”. You can go ahead click on the “view invitation” button and accept the invitation.
Important: Do NOT follow the repository intialization instructions provided by GitHub. The lab writeup contains course-specific instructions for initializing repositories.