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 [email protected]: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 |