summaryrefslogtreecommitdiff
path: root/git-review.1
diff options
context:
space:
mode:
authorMarcin Cieslak <saper@saper.info>2013-01-31 02:00:40 +0100
committerMarcin Cieslak <saper@saper.info>2013-01-31 02:30:29 +0100
commit686f1b0c6bac1f41c77c7663f08529d42c41921a (patch)
treee6c2dd6f6c853ebce4ba2223adb2259f057cd30f /git-review.1
parent21da8d546ca61e4dbd8e5ea3a45b27a73da11d15 (diff)
downloadgit-review-686f1b0c6bac1f41c77c7663f08529d42c41921a.tar.gz
Document gitreview.username
Document git-review specific options in the Git configuration system. Currently we have only gitreview.username, but another one (gitreview.rebase) is pending in change I96dfab1af48d8f1592766fea4b97e0f35c03d8a5. Change-Id: I5b34effee355e0075fa3c2c2acea4429198d7e85
Diffstat (limited to 'git-review.1')
-rw-r--r--git-review.119
1 files changed, 19 insertions, 0 deletions
diff --git a/git-review.1 b/git-review.1
index 94eea63..26c2cf4 100644
--- a/git-review.1
+++ b/git-review.1
@@ -119,6 +119,25 @@ When submitting a change for review, you will usually want it to be based on the
.It Fl -version
Print the version number and exit.
.El
+.Sh CONFIGURATION
+This utility can be configured by adding entries to Git configuration.
+.Pp
+The following configuration keys are supported:
+.Bl -tag
+.It gitreview.username
+Default username used to access the repository. If not specified
+in the Git configuration, Git remote or
+.Pa .gitreview
+file, the user will be prompted to specify the username.
+.Pp
+Example entry in the
+.Pa .gitconfig
+file:
+.Bd -literal -offset indent
+[gitreview]
+username=\fImygerrituser\fP
+.Ed
+.El
.Sh FILES
To use
.Nm