| gerrit index changes - Index one or more changes. |
| _ssh_ -p <port> <host> _gerrit index changes_ <CHANGE> [<CHANGE> ...] |
| 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. |
| Caller must have the 'Maintain Server' capability, or be the owner of the change |
| This command is intended to be used in scripts. |
| Required; changes to be indexed. |
| Index changes with legacy ID numbers 1 and 2. |
| $ ssh -p 29418 user@review.example.com gerrit index changes 1 2 |
| Part of link:index.html[Gerrit Code Review] |