在github上面协同开发,避免不了拉取别的同学的PR,那么如何拉取呢?

1、首先我们看下upstream

liz@liz-PC:~/jimeng/handle-api$ git remote -v
origin https://github.com/lz-2019/handle-api.git (fetch)
origin https://github.com/lz-2019/handle-api.git (push)
remote https://github.com/beego/handle-api.git (fetch)
remote https://github.com/beego/handle-api.git (push)
我们可以看到remote是源代码的指向

2、然后看到这个PR的ID是 213

超时信息错误 #

3、使用fetch PR 拉取

liz@liz-PC:~/jimeng/handle-api$ git fetch remote  pull//head:jm5594
remote: Enumerating objects: , done.
remote: Counting objects: % (/), done.
remote: Compressing objects: % (/), done.
remote: Total (delta ), reused (delta ), pack-reused
展开对象中: % (/), 完成.
来自 https://github.com/beego/handle-api
* [新引用] refs/pull//head -> jm5594
 
然后切到拉取的分支 
git checkout jm5594

最新文章

  1. Python
  2. 删除windows系统中以前的设备(比如以前的网卡)或驱动的方法
  3. SOA和Web Service介绍
  4. 64位系统下System32文件系统重定向
  5. AJAX的概念介绍
  6. 同时处理html+js+jquery+css的插件安装(Spket&Aptana插件安装)
  7. 磁盘管理二-LVM相关内容
  8. top batch output
  9. 大数据算法设计模式(2) - 左外链接(leftOuterJoin) spark实现
  10. Yii2基本概念之——生命周期(LifeCycle)
  11. Kubernetes---Pod的扩容和缩容
  12. pycharm注册码(不断更新)
  13. 1px实现方案
  14. 学习MeteoInfo二次开发教程(七)
  15. strpos 的正确使用方式
  16. github提交代码后没有contribution问题
  17. Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
  18. CRT && exCRT模板
  19. curl学习(实例不断总结)
  20. PLSQL_统计信息系列07_数据字典统计信息的导出和导入

热门文章

  1. 【Weiss】【第03章】练习3.13:桶排序
  2. Unity 游戏框架搭建 2019 (九~十二) 第一章小结&第二章简介&第八个示例
  3. python打包为exe文件
  4. kerberos系列之hive认证配置
  5. 字符串-mask-每个元音包含偶数次的最长子字符串
  6. Idea无法调出搜狗等中文输入法
  7. office的高级应用
  8. vue动态定义图片路径
  9. Faiss向量相似性搜索
  10. coding++:JS数组去重的几种常见方法