Skip to content

Commit 886ed20

Browse files
committed
update manuals
1 parent 4a86496 commit 886ed20

File tree

2 files changed

+210
-91
lines changed

2 files changed

+210
-91
lines changed

man/gist.1

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.\" generated with Ronn/v0.5
22
.\" http://github.com/rtomayko/ronn/
33
.
4-
.TH "GIST" "1" "May 2010" "GITHUB" "Gist Manual"
4+
.TH "GIST" "1" "June 2010" "GITHUB" "Gist Manual"
55
.
66
.SH "NAME"
7-
\fBgist\fR \-\- gist on the command line
7+
\fBgist\fR \- gist on the command line
88
.
99
.SH "SYNOPSIS"
1010
\fBgist\fR [\fB\-p\fR] [\fB\-t extension\fR] \fIFILE\fR
@@ -40,6 +40,11 @@ Create a private gist instead of a public gist.
4040
Set the file extension explicitly. Passing a type of \fBrb\fR ensure
4141
the gist is created as a Ruby file.
4242
.
43+
.TP
44+
\fB\-o\fR, \fB\-\-[no\-]open\fR
45+
Open the gist in your browser after creation. Or don't. Defaults
46+
to \-\-open
47+
.
4348
.P
4449
You may additionally ask for help:
4550
.
@@ -51,7 +56,7 @@ Print help.
5156
\fB\-m\fR, \fB\-\-man\fR
5257
Display this man page.
5358
.
54-
.SH "CONFIGURATION"
59+
.SH "AUTHENTICATION"
5560
There are two ways to set GitHub user and token info:
5661
.
5762
.IP "\(bu" 4
@@ -97,16 +102,28 @@ $ git config \-\-global github.user <username>
97102
See \fIhttp://github.com/guides/local\-github\-config\fR for more
98103
information.
99104
.
100-
.P
101-
\fBgist\fR will check the \fBHTTP_PROXY\fR env variable if supplied:
105+
.SH "CONFIGURATION"
106+
You can set a few options in your git config (using git\-config(1)) to
107+
control the default behavior of gist(1).
102108
.
103-
.IP "" 4
109+
.IP "\(bu" 4
110+
gist.private \- boolean (yes or no) \- Determines whether to make a gist
111+
private by default
104112
.
105-
.nf
106-
107-
$ HTTP_PROXY=http://host:port/ gist script.py
113+
.IP "\(bu" 4
114+
gist.extension \- string \- Default extension for gists you create.
108115
.
109-
.fi
116+
.IP "\(bu" 4
117+
gist.browse \- boolean (yes or no) \- Whether to open the gist in your
118+
browser after creation. Default: yes
119+
.
120+
.IP "" 0
121+
.
122+
.SH "ENVIRONMENT"
123+
The following environment variables affect the execution of \fBgist\fR:
124+
.
125+
.IP "\(bu" 4
126+
HTTP_PROXY \- Proxy to use when Gisting. Should be "http://host:port/"
110127
.
111128
.IP "" 0
112129
.

man/gist.1.html

Lines changed: 183 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)