Created
June 14, 2020 06:39
-
-
Save chagel/bc338323d200bf53217495cc42afc724 to your computer and use it in GitHub Desktop.
migrate bitbucket to github
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
# clone bare project into a new foler | |
git clone --bare git@bitbucket.org:Pipihosting/pipi-web.git | |
# push into new remote | |
git push --mirror git@github.com:pipihosting/pipi-web.git | |
# change remote for local previous repo (or clone new one) | |
git remote set-url origin git@github.com:pipihosting/pipi-web.git |
Author
chagel
commented
Jun 17, 2020
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment