-
-
Save peter279k/63f9e0a4da024391cba126d60f080b4b to your computer and use it in GitHub Desktop.
How to create a tarball of a git repository using "git archive"
This file contains hidden or 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=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment