Last active
August 29, 2015 14:22
-
-
Save zvchei/0f5caaa7c036b30a9c0e to your computer and use it in GitHub Desktop.
Cheats...
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
# Exports the content of a git repository. | |
git archive --format=tar --remote=git@github.com:FOO/BAR.git master | tar x | |
# Exports the content of a GitHub repository (using the svn support) or subversion repository. | |
svn export https://github.com/svetos1av/FOOBAR/trunk/ exported_trunk_tmp && mv exported_trunk_tmp/* exported_trunk_tmp/.[!.]* . && rmdir exported_trunk_tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment