How to import a googlecode git project to github project

I wanna migrate leveldb (code.google.com/p/leveldb) to my github repository.

asked Jul 8, 2014 by harryxiyou (5,740 points)

1 Answer

Create a new repo on github.com with this link https://help.github.com/articles/creating-a-new-repository
git clone https://code.google.com/p/ project-name.git
Set the remote origin url as follows: git remote set-url origin https://github.com/ username/ repo-name.git
git pull to pull the latest.
git push origin master after making local changes.
This is the original repo: https://code.google.com/p/test-libraries-for-java
This is my forked repo: https://github.com/krishnanand/test-libraries-for-java/

Please feel free to share if you think it helps any one.

References:
https://github.com/holman/feedback/issues/347

answered Jul 8, 2014 by harryxiyou (5,740 points)

Please log in or register to answer this question.

Related questions

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...