Created
June 14, 2011 01:41
-
-
Save seyhunak/1024147 to your computer and use it in GitHub Desktop.
Cloning manual repo and push 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
git clone --bare url/for/my-old-repo.git | |
cd my-old-repo.git | |
git push --mirror git@github.com:mycompany/my-new-repo.git | |
cd .. | |
rm -rf my-old-repo.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment