wangyuan0108 / wangyuan0108.github.io

总结记录笔记地址
https://new.buging.cn
2 stars 0 forks source link

用git命令更新fork的项目 | 忆 #30

Open wangyuan0108 opened 5 years ago

wangyuan0108 commented 5 years ago

https://wangyuanweb.top/2018/02/27/%E6%9B%B4%E6%96%B0fork%E7%9A%84%E9%A1%B9%E7%9B%AE/

基本命令12345git remote -v git remote add upstream git@github.com:xxx/xxx.gitgit fetch upstreamgit merge upstream/mastergit push