After using the git clone
command to clone a project on github, how to keep the local code synchronized with the code on the remote github
阿神2017-05-02 09:39:57
If you are not a fork project:
git pull
That’s it.
If you fork, add the original project to:
git remote add usp [主项目地址]
Then:
git fetch ups && git merge ups/master
给我你的怀抱2017-05-02 09:39:57
Thank you for the invitation. The answer above is very detailed. git pull