Skip to content

Instantly share code, notes, and snippets.

@denar90
Created July 24, 2017 10:16
Show Gist options
  • Save denar90/db99940b863fc8c9c0d6c67a3f78ebc5 to your computer and use it in GitHub Desktop.
Save denar90/db99940b863fc8c9c0d6c67a3f78ebc5 to your computer and use it in GitHub Desktop.
git clone --mirror <url_of_old_repo>
cd <name_of_old_repo>
git remote add new-origin <url_of_new_repo>
git push new-origin --mirror
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment