国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

git - How to keep the cloned project in sync with the original project after forking?
過去多啦不再A夢(mèng)
過去多啦不再A夢(mèng) 2017-05-02 09:35:40
0
2
1136

For example, I forked a project two days ago, and today I cloned my forked project locally. I found that the original project has been updated yesterday. How can I keep the local project and the project I forked on github in sync with the original project?

過去多啦不再A夢(mèng)
過去多啦不再A夢(mèng)

reply all(2)
Peter_Zhu

Remotely pull update projects. First add the original package as remote to the local project:

git remote add upstream A_REPOSITORY_URL

Pull remote code

git pull upstream master

Finally commit to your own fork:

git push origin master
我想大聲告訴你

The correct answer upstairs is to usually update the master locally and then merge it into your own branch.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template