How to submit assignments from a repo on Teach
Many of the assignments will ask you to submit your git repo including a working copy as a zip or tar file.
While git has a convenient "git archive" command to create zip or tar files, this is not what we want, as this would not include the .git directory, so we cannot see past commits.
Instead, we want to content of the repos, including a working copy, all in a single zip file.
On the Teach cluster, there is a utiltiy to do that. Go into your code directory and type git2zip . If you are not in the code directory, you can pass the path to your code directory to git2zip as an argument, i.e., like "git2zip DIRECTORYNAME".
The resulting zip file will contain the repo and a working copy of files that were commited. Warning: check that the zip file contains all of your submission; any new or changed files in the directory that were not commited to the repo, would not be included!
To copy this zip file off of the teach cluster, you can e.g. use scp. Then you can upload this zip file to the course website.