Skip to content

Instantly share code, notes, and snippets.

@ExZyle
Created June 4, 2022 00:49
Show Gist options
  • Save ExZyle/f27526b2b8f755ec97411159ddbde96e to your computer and use it in GitHub Desktop.
Save ExZyle/f27526b2b8f755ec97411159ddbde96e to your computer and use it in GitHub Desktop.
git clone --mirror <URL to my OLD repo location>
cd <New directory where your OLD repo was cloned>
git remote set-url origin <URL to my NEW repo location>
git push --mirror origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment