Setting up Project 2 from scratch

If you have unsolvable problems with your git repo, the easiest thing to do is to clone a new copy from github. You can then work with that instead and ignore the one you set up before. Here are the steps. You might want to copy-paste them to avoid typos.

$ cd ~
$ git clone git@github.com:ucberkeley-cs61c/cs61c-XX.git NAME_OF_YOUR_NEW_REPO
$ cd NAME_OF_YOUR_NEW_REPO
Only do this if 'proj2' shows up as an empty folder with a green arrow on github, which can happen if
you have accidentally created another git repo inside your existing git repo.
$ rm -rf proj2 && git add -u && git commit -m "delete broken submodule"
$ git remote add proj2 git://github.com/ucberkeley-cs61c/proj2.git $ git pull proj2 master
That's it! Your new git repository should now be in the directory name you chose, and the project 2 files in the "proj2" subdirectory of that.