Created
August 30, 2012 19:45
-
-
Save maximevalette/3539031 to your computer and use it in GitHub Desktop.
Migration vers GitHub
This file contains hidden or 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
| cd [votre repo local] | |
| git remote add oldorigin git@[ancienserveurgit]:[organisation]/[nomdurepo].git | |
| git remote set-url origin [email protected]:[organisation]/[nomdurepo].git |
This file contains hidden or 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 git@[urldeorigin]:[organisation]/[nomdurepo].git [rep temporaire] --mirror | |
| cd [rep temporaire] | |
| git remote add github [email protected]:[organisation]/[nomdurepo].git | |
| git push -f --mirror github | |
| cd .. | |
| rm -rf [rep temporaire] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment