How to import a googlecode git project to github project

I wanna migrate leveldb ( to my github repository.

Create a new repo on with this link
git clone project-name.git
Set the remote origin url as follows: git remote set-url origin username/ repo-name.git
git pull to pull the latest.
git push origin master after making local changes.
This is the original repo:
This is my forked repo:

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


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 *