拉取未合入的代码

$ssh -p 29418 [email protected] gerrit query --current-patch-set change:xxxxxxxxxx | sed 's/\s*//g' | grep 'ref:ref' | cut -c5-
$refs/changes/????
$git fetch ssh://[email protected]:29418/SDS/ceph refs/changes/???? && git cherry-pick FETCH_HEAD;

你可能感兴趣的:(拉取未合入的代码)