gerrit/Documentation/cmd-index-changes.txt
David Pursehouse 3f99e4e96f Initial implementation of SSH command to index changes
The initial implementation allows to index specified changes. In future
this could be extended to allow indexing of changes by project/branch.

Change-Id: Ia66b086b8bd8d49fe536332d96e3292087fefa01
2016-05-26 16:57:00 +09:00

41 lines
773 B
Plaintext

= gerrit index changes
== NAME
gerrit index changes - Index one or more changes.
== SYNOPSIS
--
'ssh' -p <port> <host> 'gerrit index changes' <CHANGE> [<CHANGE> ...]
--
== DESCRIPTION
Indexes one or more changes.
Changes can be specified in the link:rest-api-changes.html#change-id[same format]
supported by the REST API.
== ACCESS
Caller must have the 'Maintain Server' capability, or be the owner of the change
to be indexed.
== SCRIPTING
This command is intended to be used in scripts.
== OPTIONS
--CHANGE::
Required; changes to be indexed.
== EXAMPLES
Index changes with legacy ID numbers 1 and 2.
====
$ ssh -p 29418 user@review.example.com gerrit index changes 1 2
====
GERRIT
------
Part of link:index.html[Gerrit Code Review]
SEARCHBOX
---------