Skip to content

Instantly share code, notes, and snippets.

@voidius
Created November 17, 2015 09:31
Show Gist options
  • Save voidius/34a9af1149bba33b7e4e to your computer and use it in GitHub Desktop.
Save voidius/34a9af1149bba33b7e4e to your computer and use it in GitHub Desktop.
GIT repo migration
$ git clone --mirror <old_repo_url>
$ git remote rename origin origin-old
$ git remote add origin <new_repo_url>
$ git push --all origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment