Created
April 13, 2012 11:43
-
-
Save HansCz/2376190 to your computer and use it in GitHub Desktop.
Git - zip a git repo root folder while ignoring git files and copying it somewhere
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
# zip a git repo root folder while ignoring git files and copying it somewhere | |
cd my_git_repo | |
git archive HEAD --format=zip --output=somewhere/in/the/fie/system/my_zipped_git_repo.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment