blob: 0e77909a41471ea278efe72d8a1273f11d6659c0 [file]
gerrit modify-reviewers
=======================
NAME
----
gerrit modify-reviewers - Add or remove reviewers to a change
SYNOPSIS
--------
[verse]
'ssh' -p <port> <host> 'gerrit modify-reviewers'
[--project <PROJECT>]
[--add EMAIL ...]
[--remove EMAIL ...]
[--]
{COMMIT | CHANGE-ID}...
DESCRIPTION
-----------
Adds or removes reviewers to the specified change, sending email
notifications when changes are made.
Changes should be specified as complete or abbreviated Change-Ids
such as 'Iac6b2ac2'. They may also be specified by numeric change
identifiers, such as '8242' or by complete or abbreviated commit
SHA-1s.
OPTIONS
-------
--project::
-p::
Name of the project the intended change is contained within. This
option must be supplied before Change-ID in order to take effect.
--add::
-a::
Add this reviewer to the change. Multiple reviewers can be
added at once by using this option multiple times.
--remove::
-r::
Remove this reviewer to the change. Multiple reviewers can be
removed at once by using this option multiple times.
--help::
-h::
Display site-specific usage information
ACCESS
------
Any user who has configured an SSH key.
SCRIPTING
---------
This command is intended to be used in scripts.
EXAMPLES
--------
Add reviewers alice and bob, but remove eve from change Iac6b2ac2.
=====
$ ssh -p 29418 review.example.com gerrit modify-reviewers \
-a alice@example.com -a bob@example.com \
-r eve@example.com \
Iac6b2ac2
=====
Add reviewer elvis to old-style change id 1935 specifying that the change is in project "graceland"
=====
$ ssh -p 29418 review.example.com gerrit modify-reviewers \
--project graceland \
-a elvis@example.com \
1935
=====
GERRIT
------
Part of link:index.html[Gerrit Code Review]