如何更新fork的远程仓库代码到自己的本地仓库
Opened this issue · 0 comments
program-spiritual commented
配置流程
配置上游仓库
- 查看远程仓库
git remote -v
- 添加上游仓库到本地
git remote add upstream [upsteam branch]
- 再次检查
git remote -v
- 同步远程仓库到本地仓库
git pull upstream master
- 更新到自己的远程分支
git push origin master