Add several missing options to the man page
The bulk of this patch is based on suggestions by Robert P.J. Day, as found here: https://bugzilla.redhat.com/show_bug.cgi?id=1266468 Change-Id: I6411adec228950623a3cc1269701d47df38e8e62
This commit is contained in:
29
git-review.1
29
git-review.1
@@ -67,6 +67,8 @@ In that case local branch name will have a \-patch[patchsetNumber] suffix.
|
|||||||
.Pp
|
.Pp
|
||||||
The following options are available:
|
The following options are available:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
|
.It Fl c , Fl \-compatible
|
||||||
|
Push changes to refs compatible with Gerrit of versions before 2.3.
|
||||||
.It Fl d Ar change , Fl \-download= Ns Ar change
|
.It Fl d Ar change , Fl \-download= Ns Ar change
|
||||||
Download
|
Download
|
||||||
.Ar change
|
.Ar change
|
||||||
@@ -106,6 +108,9 @@ creating a local branch for it.
|
|||||||
.Pp
|
.Pp
|
||||||
If the current branch is different enough, the change may not apply at all
|
If the current branch is different enough, the change may not apply at all
|
||||||
or produce merge conflicts that need to be resolved by hand.
|
or produce merge conflicts that need to be resolved by hand.
|
||||||
|
.It Fl i , Fl \-new\-changeid
|
||||||
|
Force the git-review to generate a new Change-Id, even if one already exists
|
||||||
|
in the changelog.
|
||||||
.It Fl m Ar change\-ps\-range , Fl \-compare= Ns Ar change\-ps\-range
|
.It Fl m Ar change\-ps\-range , Fl \-compare= Ns Ar change\-ps\-range
|
||||||
Download the specified patchsets for
|
Download the specified patchsets for
|
||||||
.Ar change
|
.Ar change
|
||||||
@@ -131,6 +136,8 @@ to always skip rebasing.
|
|||||||
.It Fl f , Fl \-finish
|
.It Fl f , Fl \-finish
|
||||||
Close down the local branch and switch back to the target branch on
|
Close down the local branch and switch back to the target branch on
|
||||||
successful submission.
|
successful submission.
|
||||||
|
.It Fl F , Fl \-force\-rebase
|
||||||
|
Force a rebase before doing anything else, even if not otherwise needed.
|
||||||
.It Fl n , Fl \-dry\-run
|
.It Fl n , Fl \-dry\-run
|
||||||
Don\(aqt actually perform any commands that have direct effects. Print them
|
Don\(aqt actually perform any commands that have direct effects. Print them
|
||||||
instead.
|
instead.
|
||||||
@@ -139,7 +146,7 @@ Git remote to use for Gerrit.
|
|||||||
.It Fl s , Fl \-setup
|
.It Fl s , Fl \-setup
|
||||||
Just run the repo setup commands but don\(aqt submit anything.
|
Just run the repo setup commands but don\(aqt submit anything.
|
||||||
.It Fl t Ar topic , Fl \-topic= Ns Ar topic
|
.It Fl t Ar topic , Fl \-topic= Ns Ar topic
|
||||||
Sets the target topic for this change on the gerrit server.
|
Sets the target topic for this change on the Gerrit server.
|
||||||
If not specified, a bug number from the commit summary will be used. Alternatively, the local branch name will be used if different from remote branch.
|
If not specified, a bug number from the commit summary will be used. Alternatively, the local branch name will be used if different from remote branch.
|
||||||
.It Fl T , Fl \-no\-topic
|
.It Fl T , Fl \-no\-topic
|
||||||
Submit review without topic.
|
Submit review without topic.
|
||||||
@@ -148,11 +155,11 @@ Subscribe one or more reviewers to the uploaded patch sets. Reviewers should be
|
|||||||
.It Fl u , Fl \-update
|
.It Fl u , Fl \-update
|
||||||
Skip cached local copies and force updates from network resources.
|
Skip cached local copies and force updates from network resources.
|
||||||
.It Fl l , Fl \-list
|
.It Fl l , Fl \-list
|
||||||
List the available reviews on the gerrit server for this project.
|
List the available reviews on the Gerrit server for this project.
|
||||||
.It Fl y , Fl \-yes
|
.It Fl y , Fl \-yes
|
||||||
Indicate that you do, in fact, understand if you are submitting more than
|
Indicate that you do, in fact, understand if you are submitting more than
|
||||||
one patch.
|
one patch.
|
||||||
.It Fl v Fl \-verbose
|
.It Fl v , Fl \-verbose
|
||||||
Turns on more verbose output.
|
Turns on more verbose output.
|
||||||
.It Fl D , Fl \-draft
|
.It Fl D , Fl \-draft
|
||||||
Submit review as a draft. Requires Gerrit 2.3 or newer.
|
Submit review as a draft. Requires Gerrit 2.3 or newer.
|
||||||
@@ -165,6 +172,13 @@ When submitting a change for review, you will usually want it to be based on the
|
|||||||
Also can be used for
|
Also can be used for
|
||||||
.Fl \-compare
|
.Fl \-compare
|
||||||
to skip automatic rebase of fetched reviews.
|
to skip automatic rebase of fetched reviews.
|
||||||
|
.It Fl \-color Ar always|never|auto
|
||||||
|
Enable or disable a color output. Default is "auto".
|
||||||
|
.It Fl \-no\-color
|
||||||
|
Same thing as \-\-color=never.
|
||||||
|
.It Fl \-no\-custom\-script
|
||||||
|
Do not run scripts, installed as hooks/{action}-review, where action
|
||||||
|
is one of "pre", "draft", or "post".
|
||||||
.It Fl \-track
|
.It Fl \-track
|
||||||
Choose the branch to submit the change against (and, if
|
Choose the branch to submit the change against (and, if
|
||||||
rebasing, to rebase against) from the branch being tracked
|
rebasing, to rebase against) from the branch being tracked
|
||||||
@@ -177,6 +191,9 @@ Ignore any branch being tracked by the current branch,
|
|||||||
overriding gitreview.track.
|
overriding gitreview.track.
|
||||||
This option is implied by providing a specific branch name
|
This option is implied by providing a specific branch name
|
||||||
on the command line.
|
on the command line.
|
||||||
|
.It Fl \-use-pushurl
|
||||||
|
Use the pushurl option for the origin remote rather than conventional
|
||||||
|
separate Gerrit remotes.
|
||||||
.It Fl \-version
|
.It Fl \-version
|
||||||
Print the version number and exit.
|
Print the version number and exit.
|
||||||
.El
|
.El
|
||||||
@@ -278,10 +295,10 @@ If you wish not to use color for any output. (default with Git older than 1.8.4)
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Nm
|
.Nm
|
||||||
will query git credential system for gerrit user/password when
|
will query git credential system for Gerrit user/password when
|
||||||
authentication failed over http(s). Unlike git,
|
authentication failed over http(s). Unlike git,
|
||||||
.Nm
|
.Nm
|
||||||
does not persist gerrit user/password in git credential system for security
|
does not persist Gerrit user/password in git credential system for security
|
||||||
purposes and git credential system configuration stays under user responsibility.
|
purposes and git credential system configuration stays under user responsibility.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
To use
|
To use
|
||||||
@@ -289,7 +306,7 @@ To use
|
|||||||
with your project, it is recommended that you create
|
with your project, it is recommended that you create
|
||||||
a file at the root of the repository named
|
a file at the root of the repository named
|
||||||
.Pa .gitreview
|
.Pa .gitreview
|
||||||
and place information about your gerrit installation in it. The format is similar to the Windows .ini file format:
|
and place information about your Gerrit installation in it. The format is similar to the Windows .ini file format:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
[gerrit]
|
[gerrit]
|
||||||
host=\fIhostname\fP
|
host=\fIhostname\fP
|
||||||
|
|||||||
Reference in New Issue
Block a user