Sync your fork with upstream changes. Assumes upstream
is a remote with URLs configured.
git fetch upstream
git rebase upstream/<upstream-branch>
git push
Sync your local repository with remote changes. Will rewrite your local history via --rebase
.
git pull --rebase <remote> <branch>