How to import a googlecode git project to github project

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

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 by harryxiyou.

Weiwei Jia

Weiwei Jia is a Ph.D. student in the Department of Computer Science at New Jersey Institute of Technology since 2016. His research interests are include storage systems, operating systems and computer systems.

Leave a Reply

Your email address will not be published. Required fields are marked *