Gerrit 上获取Patch
2016-05-26 10:37
501 查看
在gerrit 获取git fetch地址
在review 页面 点击Download --> Checkout 复制fetch 命令
复制的命令如下 git fetch https://git.openstack.org/openstack/solum refs/changes/39/321239/1 && git checkout FETCH_HEAD
在本地devstack 上执行即可
solumuser@ubuntu14044:/opt/stack/solum$ git fetch https://git.openstack.org/openstack/solum refs/changes/39/321239/1 && git checkout FETCH_HEAD
From https://git.openstack.org/openstack/solum * branch refs/changes/39/321239/1 -> FETCH_HEAD
M solum/api/handlers/common.py
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at cdc2e78... (WIP)Fix private repo build
solumuser@ubuntu14044:/opt/stack/solum$ git branch -a
* (detached from FETCH_HEAD)
master
remotes/origin/HEAD -> origin/master
remotes/origin/cookiecutter
remotes/origin/master
remotes/origin/readme-start
remotes/origin/stable/mitaka
在review 页面 点击Download --> Checkout 复制fetch 命令
复制的命令如下 git fetch https://git.openstack.org/openstack/solum refs/changes/39/321239/1 && git checkout FETCH_HEAD
在本地devstack 上执行即可
solumuser@ubuntu14044:/opt/stack/solum$ git fetch https://git.openstack.org/openstack/solum refs/changes/39/321239/1 && git checkout FETCH_HEAD
From https://git.openstack.org/openstack/solum * branch refs/changes/39/321239/1 -> FETCH_HEAD
M solum/api/handlers/common.py
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at cdc2e78... (WIP)Fix private repo build
solumuser@ubuntu14044:/opt/stack/solum$ git branch -a
* (detached from FETCH_HEAD)
master
remotes/origin/HEAD -> origin/master
remotes/origin/cookiecutter
remotes/origin/master
remotes/origin/readme-start
remotes/origin/stable/mitaka
相关文章推荐
- PHP5.2.*防止Hash冲突拒绝服务攻击的Patch
- review引发的有关于单例模式的思考
- patch 的用法
- Code Review
- Oracle 数据库Patch概念性小常识 PSU,CPU,bundle patch
- java patch补丁文件的结构
- About Code Review Tools for Trac
- How many times rampant Warcraft Star players ah
- Ubuntu 内核编译
- Mathcad patch
- 欺骗的艺术----(9)
- 一些比较生僻的 RPM 命令
- Jbuild2005安装
- rdesktop研究随笔
- office2003无法正常安装卸载问题解决
- 在WinCE5.0和WinCE6.0下,编译选项介绍
- [转]程序员的素养
- 又到了考评的时候
- 用access-list 对抗“冲击波”病毒
- CVS大全