Skip to content

Instantly share code, notes, and snippets.

@seanlinsley
Created December 1, 2012 19:17
Show Gist options
  • Save seanlinsley/4184258 to your computer and use it in GitHub Desktop.
Save seanlinsley/4184258 to your computer and use it in GitHub Desktop.
Clone a remote git repo, with all branches included
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