summaryrefslogtreecommitdiffstats
path: root/Documentation/cmd-index-changes.txt
blob: 0ee7aabd26fe24f0d088abfe10f6ac9058fac782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
= gerrit index changes

== NAME
gerrit index changes - Index one or more changes.

== SYNOPSIS
[verse]
--
_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
---------