Skip to content

Instantly share code, notes, and snippets.

@robindegen
Created December 2, 2014 14:33
Show Gist options
  • Save robindegen/a59c34eeffbabc0dc68a to your computer and use it in GitHub Desktop.
Save robindegen/a59c34eeffbabc0dc68a to your computer and use it in GitHub Desktop.
Export git repo to zip or tarbal
git archive master --format=zip --output=../snapshot.zip
git archive master --format=tar --output=../snapshot.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment