@PLUGIN@ rename - Rename a project and update all its changes
ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ <PROJECT> <NEWNAME>
Renames a project in the Gerrit installation, renaming the Git repository along with updating any changes associated with it.
Caller must be a member of a group that is granted the ‘Rename Project’ capability (provided by this plugin) or the ‘Administrate Server’ capability.
This command is intended to be used in scripts.
Rename a project named ‘project-1’ to ‘project-2’:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ project-1 project-2