简体   繁体   中英

Automation commits from Google code to Github

I have a project on Google code : Project on Google code . Resently, I exported it to GitHub : Project on GitHub .

How I can automate sending commits from Google code to GitHub ? Ie I want to continue working with Google code, but all new commits should be authomatically sent to the GitHub repo? How can I do that?

google code doesnt belong to you, what you have access to is your github repo. so clone the repo on your computer.

    1.git clone https://github.com/VeLKerr/code--review.git

    2.try add a new file say test.foo in that same directory on your computer

    3. git add --all

    4.git commit -am "Testing Foo"

    5. git push origin master

That should solve it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM