Created
January 18, 2019 10:45
-
-
Save fabiojose/03bf022427c288129db77d9c295f458c to your computer and use it in GitHub Desktop.
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
OLD_REPO=<OLD_REPO_URL> | |
NEW_REPO=<NEW_REPO_URL> | |
git clone --mirror $OLD_REPO | |
cd <Old repo directory> | |
git remote set-url origin $NEW_REPO | |
git push -f origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment