gerrit/Documentation/cmd-set-topic.txt
Michael Kelly fc1c3dded8 Add 'gerrit set-topic' SSH command
Currently the only way to set the topic is through the REST API,
however this is a bit annoying if you don't want to use the REST API.
It's desirable to also have an SSH command that covers this use case.

Change-Id: I6686e64a788365bd252df69ae5b3ec9d65aaf068
2020-03-11 11:20:46 +09:00

44 lines
879 B
Plaintext

= gerrit set-topic
== NAME
gerrit set-topic - Set the topic for one or more changes.
== SYNOPSIS
[verse]
--
_ssh_ -p <port> <host> _gerrit set-topic_
<CHANGE>
[ --topic <TOPIC> | -t <TOPIC> ]
--
== DESCRIPTION
Sets the topic for the specified changes.
== ACCESS
Caller must have the rights to modify the topic of the specified changes.
== SCRIPTING
This command is intended to be used in scripts.
== OPTIONS
<CHANGE>::
Required; change id.
--topic::
-topic::
Valid topic name to apply to the specified changes.
== EXAMPLES
Set the topic of the change "I6686e64a788365bd252df69ae5b3ec9d65aaf068" in "MyProject" on branch "master" to "MyTopic".
----
$ ssh -p 29418 user@review.example.com gerrit set-topic MyProject~master~I6686e64a788365bd252df69ae5b3ec9d65aaf068 --topic MyTopic
----
GERRIT
------
Part of link:index.html[Gerrit Code Review]
SEARCHBOX
---------