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
git clone
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
Thank you for the invitation. The answer above is very detailed. git pull
If you are not a fork project:
That’s it.
If you fork, add the original project to:
Then:
Thank you for the invitation. The answer above is very detailed.
git pull