To submit an assignment:
- Update your private repository to get the assignment files:
cd [my_repo_name]
git pull
This will create a new directory, e.g., assignment0
.
-
Do the homework, adding and modifying files in the assignment directory. Commit often!
-
Before the deadline, push all of your changes to GitHub. E.g.:
cd assignment 0
git add *
git commit -m 'homework completed'
git push
- Double-check that you don't have any outstanding changes to commit:
git status
# On branch master
nothing to commit, working directory clean
- Double-check that everything works, by cloning your repository into a new directory and executing all tests.
cd
mkdir tmp
cd tmp
git clone https://github.com/iit-cs429/[your_iit_id]
cd [your_iit_id]/assignments/assignment0
[...run any relevant scripts/tests]