@PLUGIN@ delete - Completely delete a project and all its changes
ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ delete [--yes-really-delete] [--force] [--preserve-git-repository] <PROJECT>
Deletes a project from the Gerrit installation, removing the Git repository along with any changes associated with it.
Caller must be a member of a group that is granted the ‘Delete Project’ capability (provided by this plugin) or the ‘Administrate Server’ capability.
This command is intended to be used in scripts.
--yes-really-delete
: Actually perform the deletion. If omitted, the command will just output information about the deletion and then exit.
--force
: Delete project even if it has open changes.
--preserve-git-repository
: Don't delete git repository directory.
See if you can delete a project:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ delete tools/gerrit
Completely delete a project:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ delete --yes-really-delete tools/gerrit