Skip to content

Instantly share code, notes, and snippets.

@charliecm
Created March 24, 2017 21:51
Show Gist options
  • Save charliecm/6d7824056929c804935ae818ed7ac486 to your computer and use it in GitHub Desktop.
Save charliecm/6d7824056929c804935ae818ed7ac486 to your computer and use it in GitHub Desktop.
Export git repo as zip for sharing or submitting an assignment.
# http://gitready.com/intermediate/2009/01/29/exporting-your-repository.html
git archive HEAD --format=zip > archive.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment