Created
December 1, 2012 19:17
-
-
Save seanlinsley/4184258 to your computer and use it in GitHub Desktop.
Clone a remote git repo, with all branches included
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
git clone --mirror https://github.com/Daxter/active_admin.git acitve_admin/.git | |
cd active_admin | |
git config --bool core.bare false # it's initially a bare repo, so we've got to fix that | |
git checkout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment