您的位置:首页 > 运维架构

openstack git review 29418被墙解决办法

2015-06-12 09:45 417 查看
登录https://review.openstack.org/#/settings/http-password,生成password,如果password里面有反斜杠,然后再点击直到没有斜杠为止。

有斜杠的在使用时会报错:Could not resolve host: **** error: 不能获取 gerrit

>git clone https://github.com/openstack/python-cinderclient.git
>cd keystone

>git remote -v

origin https://github.com/openstack/python-cinderclient.git (fetch)

origin https://github.com/openstack/python-cinderclient.git (push)

>git remote add gerrit https://username:password@review.openstack.org/openstack/python-cinderclient.git(没有gerrit)
>git remote set-url gerrit https://username:password@review.openstack.org/openstack/python-cinderclient.git(有gerrit)
>git remote -v

gerrit https://username:password@review.openstack.org/openstack/python-cinderclient.git (fetch)

gerrit https://username:password@review.openstack.org/openstack/python-cinderclient.git (push)

origin https://github.com/openstack/python-cinderclient.git (fetch)

origin https://github.com/openstack/python-cinderclient.git (push)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: