天天看點

gerrit review

NAME

gerrit review - Apply reviews to one or more patch sets

option

ssh -p <port> <host> gerrit review
  [--project <PROJECT> | -p <PROJECT>]
  [--branch <BRANCH> | -b <BRANCH>]
  [--message <MESSAGE> | -m <MESSAGE>]
  [--notify <NOTIFYHANDLING> | -n <NOTIFYHANDLING>]
  [--submit | -s]
  [--abandon | --restore]
  [--rebase]
  [--move <BRANCH>]
  [--publish]
  [--json | -j]
  [--delete]
  [--verified <N>] [--code-review <N>]
  [--label Label-Name=<N>]
  [--tag TAG]
  {COMMIT | CHANGEID,PATCHSET}…​      

EXAMPLES

Approve the change with commit c0ff33 as "Verified +1"

$ ssh -p 29418 review.example.com gerrit review --verified +1 c0ff33      

Vote on the project specific label "mylabel":

$ ssh -p 29418 review.example.com gerrit review --label mylabel=+1 c0f      

繼續閱讀