Git puxe a montante
git pull upstream branch-name
Fun Bee
git pull upstream branch-name
$ git rebase upstream/master
$ git checkout master
$ git fetch upstream
$ git remote -v
# List the current remotes
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
$ git remote add upstream https://github.com/otheruser/repo.git
# Set a new remote
$ git remote -v
# Verify new remote
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
upstream https://github.com/otheruser/repo.git (fetch)
upstream https://github.com/otheruser/repo.git (push)
git fetch upstream
git merge upstream/master