git remote add --track master upstream git://github.com/upstreamname/projectname.git

git fetch upstream

git merge upstream/master

Martin91
435 声望34 粉丝