首先clone fork出来的仓库到本地
git clone [email protected]:123/456.git
在 fork 的代码库中添加上游代码库的 remote 源
git remote add upstream [email protected]:789/456.git
获取原始仓库分支和对应的提交
git fetch upstream
在本地实现与upstream的同步
git rebase upstream/master
推送自己的本地仓库到自己的远程仓库
git push