Last active
August 29, 2015 14:11
-
-
Save JediMindtrick/c348d287dffd20d72f97 to your computer and use it in GitHub Desktop.
Pull down a git repository and remove .git files with minimal network traffic
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
#see https://stackoverflow.com/questions/160608/do-a-git-export-like-svn-export/8963061#8963061 | |
git clone --depth 1 --branch master git://git.somewhere destination_path | |
rm -rf destination_path/.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment