Created
May 18, 2018 01:22
-
-
Save omartrigui/f7854b6440f9bb8cde8667ba0cf80f53 to your computer and use it in GitHub Desktop.
Move a full Git repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone <url to origin repo> temp-dir | |
git branch -a | |
git checkout branch-name | |
git fetch --tags | |
git tag | |
git branch -a | |
git remote rm origin | |
git remote add origin <url to NEW repo> | |
git push origin --all | |
git push --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment