CS170: Programming for the World Around Us - Cloning an Assignment with GitHub Classroom
Developed by Professor Tralie and Professor Mongan.
Please watch the video below, and when you're finished, click the "NEXT" button to proceed.
Note that some videos may show "Resource Unavailable" as the thumbnail - this is just the preview, and the video should play normally upon clicking the "Play" button.
Accepting and Submitting Assignments with GitHub Classroom
In this course, programming assignments are distributed through GitHub Classroom. When an assignment is handed out, you will receive an invitation link. Clicking “Accept this assignment” creates your own private copy of the assignment repository — complete with any starter code — that only you and your instructor can see.
Your submission workflow for every programming assignment is:
- Accept the assignment invitation link (once per assignment).
- Clone your new repository to your computer:
git clone <your repository url>. - Work on the assignment, and
git add,git commit, andgit pushearly and often as you make progress. - Check on github.com before the deadline that your latest work is visible in your repository — including your
README.mdwriteup. What you see on the website is exactly what will be graded!
There is no separate “submit” button: pushing your work to GitHub is submitting. This means you can (and should) “submit” many times as you go — only your latest pushed commit counts, so an early push never hurts you.
When you’re finished with the video, continue to the next module to learn how to check your code quality with a tool called pylint before you push.