github fork出来的仓库同步upstream
首先clone fork出来的仓库到本地
git clone [email protected]:123/456.git
在 fork 的代码库中添加上游代码库的 remote 源
git remote add upstream [email protected]:789/456.git
获取原始仓库分支和对应的提交
git fetch upstream
在本地实现与upstream的同步
gi...
原创
2019-01-26 11:27:12 ·
4755 阅读 ·
0 评论