Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save QuentinFonteneau/a61d8b05c2452a0258e434d722f1f6e6 to your computer and use it in GitHub Desktop.
Save QuentinFonteneau/a61d8b05c2452a0258e434d722f1f6e6 to your computer and use it in GitHub Desktop.
Duplicate git repo (and keep history)
create an empty repo on GitHub
git remote add github https://yourLogin@github.com/yourLogin/yourRepoName.git
git push --mirror github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment