Get a Github Pulls
来源:互联网 发布:淘宝买欧式家具靠谱吗 编辑:程序博客网 时间:2024/06/05 02:43
1、只获取一个
git fetch origin pull/7324/head:pr-7324
git checkout pr-73242、获取全部pulls
将.git/config的以下内容
[remote "origin"]
url = https://github.com/apache/spark.git
fetch = +refs/heads/*:refs/remotes/origin/*
修改为
[remote "origin"]
url = https://github.com/apache/spark.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
然后执行
$ git fetch originFrom github.com:joyent/node * [new ref] refs/pull/1000/head -> origin/pr/1000 * [new ref] refs/pull/1002/head -> origin/pr/1002 * [new ref] refs/pull/1004/head -> origin/pr/1004 * [new ref] refs/pull/1009/head -> origin/pr/1009...
最后checkout到一个特定的pulls$ git checkout pr/999Branch pr/999 set up to track remote branch pr/999 from origin.Switched to a new branch 'pr/999'
2 0
- Get a Github Pulls
- github get start
- Google Pulls Out of Chinese Mainland
- create a github repository
- GitHub Create a Branch
- 【github】Syncing a fork
- github remove a repository
- A Cgi Get Cookies
- get a prime
- get a free request
- GitHub error “Failed to get HEAD”
- Get新技能学习 android studio git-github
- creating a Github respository(资源库)
- 【github】Configuring a remote for a fork
- how to get a polygon
- Get a file's properties
- How to get a solution?
- Get/Set a bean property
- sqlite学习笔记2:创建数据库
- Oracle各种用户状态解释
- 文件的输入和输出
- Linux 下zip包的压缩与解压命令用法
- 触摸屏驱动分析之S3C2440_ts.c
- Get a Github Pulls
- 取消屏幕旋转快捷键
- Android监听ScrollView滑动到顶端和底部
- 321321
- mini2440驱动(一):触摸屏原理
- Android依赖注入:Dagger、RoboGuice和ButterKnife
- GZIP启动(apache 2.4不同于2.2)@apache
- hdu 3236 Gift Hunting 二维01背包
- hibernate 批量删除方法