$ssh -p 29418 xxxx@gerrit.xxxx.com gerrit query --current-patch-set change:xxxxxxxxxx | sed 's/\s*//g' | grep 'ref:ref' | cut -c5-
$refs/changes/????
$git fetch ssh://xxxx@gerrit.xxxx.com:29418/SDS/ceph refs/changes/???? && git cherry-pick FETCH_HEAD;
网友评论