Created
December 7, 2011 13:01
-
-
Save kristofferh/1442717 to your computer and use it in GitHub Desktop.
"Export" a git repository to zip file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git archive --format zip --output /full/path/to/zipfile.zip master |
If I understand @sfaleron, I want something similar, except I want to zip my git clone. I think this would involve a zip of .git hidden directory, something that apparently is not possible.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted a
git clone
without the metadata / an uncompressed archive.You can probably figure out how to flip the directory dependency to the git side with
--remote
.