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 would want to content of the result of a fresh "git clone" in a zip or tar 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".

To copy this zip file off of the teach cluster, you can e.g. use scp.


  

Last modified: Friday, 27 January 2023, 11:45 AM