Skip to content

Instantly share code, notes, and snippets.

@zvchei
zvchei / various.sh
Last active August 29, 2015 14:22
Cheats...
# 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