1
1
.\" generated with Ronn/v0.5
2
2
.\" http://github.com/rtomayko/ronn/
3
3
.
4
- .TH "GIST" "1" "May 2010" "GITHUB" "Gist Manual"
4
+ .TH "GIST" "1" "June 2010" "GITHUB" "Gist Manual"
5
5
.
6
6
.SH "NAME"
7
- \fB gist \fR \-\- gist on the command line
7
+ \fB gist \fR \- gist on the command line
8
8
.
9
9
.SH "SYNOPSIS"
10
10
\fB gist \fR [\fB \- p \fR ] [\fB \- t extension \fR ] \fI FILE \fR
@@ -40,6 +40,11 @@ Create a private gist instead of a public gist.
40
40
Set the file extension explicitly. Passing a type of \fB rb \fR ensure
41
41
the gist is created as a Ruby file.
42
42
.
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
+ .
43
48
.P
44
49
You may additionally ask for help:
45
50
.
@@ -51,7 +56,7 @@ Print help.
51
56
\fB \- m \fR , \fB \-\- man \fR
52
57
Display this man page.
53
58
.
54
- .SH "CONFIGURATION "
59
+ .SH "AUTHENTICATION "
55
60
There are two ways to set GitHub user and token info:
56
61
.
57
62
.IP " \(bu " 4
@@ -97,16 +102,28 @@ $ git config \-\-global github.user <username>
97
102
See \fI http://github.com/guides/local \- github \- config \fR for more
98
103
information.
99
104
.
100
- .P
101
- \fB gist \fR will check the \fB HTTP_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).
102
108
.
103
- .IP " " 4
109
+ .IP " \(bu " 4
110
+ gist.private \- boolean (yes or no) \- Determines whether to make a gist
111
+ private by default
104
112
.
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.
108
115
.
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 \fB gist \fR :
124
+ .
125
+ .IP " \(bu " 4
126
+ HTTP_PROXY \- Proxy to use when Gisting. Should be "http://host:port/"
110
127
.
111
128
.IP " " 0
112
129
.
0 commit comments