Permalink
Browse files

man page: document $GITHUB_USER & $GITHUB_PASSWORD

  • Loading branch information...
1 parent f065335 commit f4b7b0f8b099f7a422c7e66b1562444905f632f2 @mislav mislav committed Nov 22, 2012
Showing with 11 additions and 2 deletions.
  1. +4 −1 man/hub.1
  2. +4 −1 man/hub.1.html
  3. +3 −0 man/hub.1.ronn
View
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "HUB" "1" "May 2012" "DEFUNKT" "Git Manual"
+.TH "HUB" "1" "November 2012" "DEFUNKT" "Git Manual"
.
.SH "NAME"
\fBhub\fR \- git + hub = github
@@ -155,6 +155,9 @@ If instead of normal \fITITLE\fR an issue number is given with \fB\-i\fR, the pu
Hub will prompt for GitHub username & password the first time it needs to access the API and exchange it for an OAuth token, which it saves in "~/\.config/hub"\.
.
.P
+To avoid being prompted, use \fIGITHUB_USER\fR and \fIGITHUB_PASSWORD\fR environment variables\.
+.
+.P
If you prefer the HTTPS protocol for GitHub repositories, you can set "hub\.protocol" to "https"\. This will affect \fBclone\fR, \fBfork\fR, \fBremote add\fR and other operations that expand references to GitHub repositories as full URLs that otherwise use git and ssh protocols\.
.
.IP "" 4
View
@@ -199,6 +199,9 @@ <h2 id="CONFIGURATION">CONFIGURATION</h2>
<p>Hub will prompt for GitHub username &amp; password the first time it needs to access
the API and exchange it for an OAuth token, which it saves in "~/.config/hub".</p>
+<p>To avoid being prompted, use <var>GITHUB_USER</var> and <var>GITHUB_PASSWORD</var> environment
+variables.</p>
+
<p>If you prefer the HTTPS protocol for GitHub repositories, you can set
"hub.protocol" to "https". This will affect <code>clone</code>, <code>fork</code>, <code>remote add</code>
and other operations that expand references to GitHub repositories as full
@@ -437,7 +440,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ol class='man-decor man-foot man foot'>
<li class='tl'>DEFUNKT</li>
- <li class='tc'>May 2012</li>
+ <li class='tc'>November 2012</li>
<li class='tr'>hub(1)</li>
</ol>
View
@@ -156,6 +156,9 @@ hub also adds some custom commands that are otherwise not present in git:
Hub will prompt for GitHub username & password the first time it needs to access
the API and exchange it for an OAuth token, which it saves in "~/.config/hub".
+To avoid being prompted, use <GITHUB_USER> and <GITHUB_PASSWORD> environment
+variables.
+
If you prefer the HTTPS protocol for GitHub repositories, you can set
"hub.protocol" to "https". This will affect `clone`, `fork`, `remote add`
and other operations that expand references to GitHub repositories as full

0 comments on commit f4b7b0f

Please sign in to comment.