Welcome to CS182! This repository will house your homework assignments.
If you are reading this, the name of the repository should be cs182-f18-YourGithubID. If that's what you see, you should already be logged into your Github account and have your own private repository (this one) for your homeworks. You're good to read on.
If you don't see your Github ID at the end of the repository name, you need to follow this link to Github Classroom to create your own private repository.
If you don't know what any of this means, come to office hours or send us a message on Piazza!
This repository is a copy of a "seed" repository maintained by the TFs. Throughout this semester, your TFs will add assignments to the seed repository, and you will be responsible for copying them into your local repository (using "fetch" and "merge", in git-speak). Assuming you've already cloned your repository locally using the Github Classroom link, you can get new files for subsequent assignemnts:
git remote add seed_repo https://github.com/Harvard-CS182-F18/cs182-f18-psets.git # only needs to be done once
git fetch seed_repo
git merge seed_repo/master -m "Fetched new assignment"
These commands (1) tell your local git repository where the seed repo is (and calls it "seed_repo"), (2) gets that repo from github.com, and (3) merges it with your local files. Once you have final step would be to push to your remote repository so it shows up on the web and your TFs can see it.
In fact, try that now to make sure you don't get any errors, and contact us via Piazza if you do.
Each problem set will consist of a written and programming portion. You are welcome to work alone or in pairs on the programming portion (except P0 which must be done alone), but the written portion must be done individually. We will check. If you worked with someone for the programming portion, you must identify each other in your submitted materials.
For each assignment you will be given a number of files. When you complete the assignments you should always push your code to this repository, and you should upload the files you have changed in the coding assignments as well as your final written pdf to Gradescope.
If you are having any trouble, please reach out to us on Piazza. We're here to help!