gerrit change * commands¶
change abandon¶
Abandons a change.
gerrit change abandon
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change assignee delete¶
Deletes the assignee of a change.
gerrit change assignee delete
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change assignee history show¶
Retrieve a list of every user ever assigned to a change.
gerrit change assignee history show
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[-s SORT_COLUMN [SORT_COLUMN ...]]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--quote<QUOTE_MODE>¶ when to include quotes, defaults to nonnumeric
-
-sSORT_COLUMN,--sort-columnsSORT_COLUMN¶ Space separated list of keys for sorting the data. Defaults to ‘_account_id’. Wrong values are ignored.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change assignee set¶
Sets the assignee of a change.
gerrit change assignee set
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
-a ACCOUNT
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
-a<ACCOUNT>,--account<ACCOUNT>¶ The ID of one account that should be added as assignee.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change assignee show¶
Retrieves the account of the user assigned to a change.
gerrit change assignee show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change check¶
Performs consistency checks on the change.
Returns a ChangeInfo entity with the problems field.
gerrit change check
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change comment list¶
Lists the published comments of all revisions of the change.
gerrit change comment list
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[-s SORT_COLUMN [SORT_COLUMN ...]]
[-t {drafts,robotcomments}]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--quote<QUOTE_MODE>¶ when to include quotes, defaults to nonnumeric
-
-sSORT_COLUMN,--sort-columnsSORT_COLUMN¶ Space separated list of keys for sorting the data. Defaults to ‘patch_set’. Wrong values are ignored.
-
-t<TYPE>,--type<TYPE>¶ The type of comments. Defaults to published.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change create¶
Creates a new change.
gerrit change create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
file
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
file¶ File with metadata of a new change.
This command is provided by the python-gerritclient plugin.
change delete¶
Deletes a change.
gerrit change delete change-identifier
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change draft publish¶
Publishes a draft change.
gerrit change draft publish change-identifier
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change fix¶
Performs consistency checks on the change.
Additionally fixes any problems that can be fixed automatically. The returned field values reflect any fixes. Only the change owner, a project owner, or an administrator may fix changes.
gerrit change fix
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
[--delete-patchset]
[--expect-merged-as]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
--delete-patchset¶ Delete patch sets from the database if they refer to missing commit options.
-
--expect-merged-as¶ Check that the change is merged into the destination branch as this exact SHA-1. If not, insert a new patch set referring to this commit.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change included-in show¶
Retrieves the branches and tags in which a change is included.
gerrit change included-in show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change index¶
Adds or updates the change in the secondary index.
gerrit change index change-identifier
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change list¶
Queries changes visible to the caller.
gerrit change list
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[-s SORT_COLUMN [SORT_COLUMN ...]]
[-l LIMIT]
[-S SKIP]
[-o OPTION [OPTION ...]]
query
[query ...]
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--quote<QUOTE_MODE>¶ when to include quotes, defaults to nonnumeric
-
-sSORT_COLUMN,--sort-columnsSORT_COLUMN¶ Space separated list of keys for sorting the data. Defaults to ‘id’. Wrong values are ignored.
-
-l<LIMIT>,--limit<LIMIT>¶ Limit the number of changes to be included in the results.
-
-S<SKIP>,--skip<SKIP>¶ Skip the given number of changes from the beginning of the list.
-
-o<OPTION>,--option<OPTION>¶ Fetch additional data about changes.
-
query¶ Query string.
This command is provided by the python-gerritclient plugin.
change move¶
Moves a change.
gerrit change move
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
-b BRANCH
[-m MESSAGE]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
-b<BRANCH>,--branch<BRANCH>¶ Destination branch.
-
-m<MESSAGE>,--message<MESSAGE>¶ A message to be posted in this change’s comments.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change rebase¶
Rebases a change.
gerrit change rebase
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
[-p PARENT]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
-p<PARENT>,--parent<PARENT>¶ The new parent revision.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change restore¶
Restores a change.
gerrit change restore
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change revert¶
Reverts a change.
gerrit change revert
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
[-m MESSAGE]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
-m<MESSAGE>,--message<MESSAGE>¶ Message to be added as review comment when reverting the change.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change show¶
Retrieves a change.
gerrit change show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
[-a]
[-o OPTION [OPTION ...]]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
-a,--all¶ Retrieves a change with labels, detailed labels, detailed accounts, reviewer updates, and messages.
-
-o<OPTION>,--option<OPTION>¶ Fetch additional data about a change.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change submit¶
Submits a change.
gerrit change submit
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
[--on-behalf-of ON_BEHALF_OF]
[--notify {NONE,OWNER,OWNER_REVIEWERS,ALL}]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
--on-behalf-of<ON_BEHALF_OF>¶ Submit the change on behalf of the given user.
-
--notify<NOTIFY>¶ Notify handling that defines to whom email notifications should be sent after the change is submitted.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change topic delete¶
Deletes the topic of a change.
gerrit change topic delete
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change topic set¶
Sets the topic of a change.
gerrit change topic set
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
-t TOPIC
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
-t<TOPIC>,--topic<TOPIC>¶ Topic of a change.
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.
change topic show¶
Retrieves the topic of a change.
gerrit change topic show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--noindent]
[--prefix PREFIX]
change-identifier
-
-f<FORMATTER>,--format<FORMATTER>¶ the output format, defaults to table
-
-cCOLUMN,--columnCOLUMN¶ specify the column(s) to include, can be repeated
-
--max-width<integer>¶ Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
-
--fit-width¶ Fit the table to the display width. Implied if –max-width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable
-
--print-empty¶ Print empty table if there is no data to show.
-
--noindent¶ whether to disable indenting the JSON
-
--prefix<PREFIX>¶ add a prefix to all variable names
-
change-identifier¶ Change identifier.
This command is provided by the python-gerritclient plugin.