Created
November 24, 2010 03:35
-
-
Save hlandry/713058 to your computer and use it in GitHub Desktop.
So to manually move a repository from another server to github. This is not a real script, just commands.
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
# First create a repo on github, then, do the following: | |
git clone --bare git@myoldserver.com:myoldrepo.git | |
cd myoldrepo.git | |
git push --mirror git@github.com:myusername/mynewrepo.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment