Created
October 29, 2012 11:07
-
-
Save dreadwarrior/3972979 to your computer and use it in GitHub Desktop.
Git: archive/package from a given repository with a given tag into a tar.gz
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=tar --prefix=myCoolTool/ --remote=file:///home/path/to/myCoolTool/ tags/v1.0 | gzip >myCoolTool_v1.0.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment