我如何使用http链接将gerrit提交/修补程序拉/樱桃到分支?

问题描述 投票:0回答:1

我正在尝试将特定的Gerrit提交/修补程序拉到分支。我对Gerrit不太熟悉,但是在通常情况下,似乎有一些叫做“补丁”的东西,就像一群提交在一起。在大多数情况下,我会在lines of]中看到一些步骤

Clone       $git clone ssh:[email protected]/potato
Checkout    $git checkout fried_branch
Fetch       $git fetch ssh:[email protected]/potato refs/changes/01/23456/7
Cherry-pick $git cherry-pick FETCH_HEAD
Pull        $git pull ssh:[email protected]/potato refs/change/01/23456/7

其中引用/更改用于查找提交/补丁。取而代之的是,我按照[

的行获得了指向gerrit commit / patch的http链接
http://gerrit.server.com:8080/#/c/12345/

我假设我需要更改克隆,签出,提取,cherry-pick,pull的Fetch and pull

步骤,但是我不确定如何使用http链接而不是refs来做到这一点。如何更改使用http的步骤?

我正在尝试将特定的Gerrit提交/修补程序拉到分支。我对Gerrit不太熟悉,但是在通常情况下,似乎有一些叫做“补丁”的东西,就像一组提交...

git commit gerrit git-pull cherry-pick
1个回答
0
投票

A Gerrit change

© www.soinside.com 2019 - 2024. All rights reserved.