Skip to content

Commit cb2c828

Browse files
pixdefunkt
authored andcommitted
[gist] Ran rake build to update generated files
1 parent 01c9b5d commit cb2c828

File tree

3 files changed

+60
-8
lines changed

3 files changed

+60
-8
lines changed

gist

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ private
254254
end
255255
Gist.execute(*ARGV)
256256
__END__
257-
.\" generated with Ronn/v0.4.1
257+
.\" generated with Ronn/v0.5
258258
.\" http://github.com/rtomayko/ronn/
259259
.
260-
.TH "GIST" "1" "February 2010" "GITHUB" "Gist Manual"
260+
.TH "GIST" "1" "May 2010" "GITHUB" "Gist Manual"
261261
.
262262
.SH "NAME"
263263
\fBgist\fR \-\- gist on the command line
@@ -308,11 +308,28 @@ Print help.
308308
Display this man page.
309309
.
310310
.SH "CONFIGURATION"
311+
There is two way to set github user and token info:
312+
.
313+
.IP "\(bu" 4
314+
Using env vars GITHUB_USER and GITHUB_TOKEN
315+
.
316+
.IP
317+
$ export GITHUB_USER=johndoe
318+
$ export GITHUB_TOKEN=mysecretgithubtoken
319+
$ gist ~/example
320+
.
321+
.IP "\(bu" 4
322+
Using git\-config(1)
323+
.
324+
.IP "" 0
325+
.
326+
.P
311327
Use git\-config(1) to display the currently configured GitHub username:
312328
.
313329
.IP "" 4
314330
.
315331
.nf
332+
316333
$ git config \-\-global github.user
317334
.
318335
.fi
@@ -325,6 +342,7 @@ Or, set the GitHub username with:
325342
.IP "" 4
326343
.
327344
.nf
345+
328346
$ git config \-\-global github.user <username>
329347
.
330348
.fi
@@ -341,6 +359,7 @@ information.
341359
.IP "" 4
342360
.
343361
.nf
362+
344363
$ HTTP_PROXY=http://host:port/ gist script.py
345364
.
346365
.fi
@@ -350,6 +369,7 @@ $ HTTP_PROXY=http://host:port/ gist script.py
350369
.SH "EXAMPLES"
351370
.
352371
.nf
372+
353373
$ gist < file.txt
354374
$ echo secret | gist \-\-private
355375
$ echo "puts :hi" | gist \-t rb
@@ -364,4 +384,4 @@ $ gist script.py
364384
Chris Wanstrath :: chris@ozmm.org
365385
.
366386
.SH "SEE ALSO"
367-
hub(1), git(1), git\-clone(1),\fIhttp://github.com\fR, \fIhttp://github.com/defunkt/gist\fR
387+
hub(1), git(1), git\-clone(1), \fIhttp://github.com\fR, \fIhttp://github.com/defunkt/gist\fR

man/gist.1

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
.\" generated with Ronn/v0.4.1
1+
.\" generated with Ronn/v0.5
22
.\" http://github.com/rtomayko/ronn/
33
.
4-
.TH "GIST" "1" "February 2010" "GITHUB" "Gist Manual"
4+
.TH "GIST" "1" "May 2010" "GITHUB" "Gist Manual"
55
.
66
.SH "NAME"
77
\fBgist\fR \-\- gist on the command line
@@ -52,11 +52,28 @@ Print help.
5252
Display this man page.
5353
.
5454
.SH "CONFIGURATION"
55+
There is two way to set github user and token info:
56+
.
57+
.IP "\(bu" 4
58+
Using env vars GITHUB_USER and GITHUB_TOKEN
59+
.
60+
.IP
61+
$ export GITHUB_USER=johndoe
62+
$ export GITHUB_TOKEN=mysecretgithubtoken
63+
$ gist ~/example
64+
.
65+
.IP "\(bu" 4
66+
Using git\-config(1)
67+
.
68+
.IP "" 0
69+
.
70+
.P
5571
Use git\-config(1) to display the currently configured GitHub username:
5672
.
5773
.IP "" 4
5874
.
5975
.nf
76+
6077
$ git config \-\-global github.user
6178
.
6279
.fi
@@ -69,6 +86,7 @@ Or, set the GitHub username with:
6986
.IP "" 4
7087
.
7188
.nf
89+
7290
$ git config \-\-global github.user <username>
7391
.
7492
.fi
@@ -85,6 +103,7 @@ information.
85103
.IP "" 4
86104
.
87105
.nf
106+
88107
$ HTTP_PROXY=http://host:port/ gist script.py
89108
.
90109
.fi
@@ -94,6 +113,7 @@ $ HTTP_PROXY=http://host:port/ gist script.py
94113
.SH "EXAMPLES"
95114
.
96115
.nf
116+
97117
$ gist < file.txt
98118
$ echo secret | gist \-\-private
99119
$ echo "puts :hi" | gist \-t rb
@@ -108,4 +128,4 @@ $ gist script.py
108128
Chris Wanstrath :: chris@ozmm.org
109129
.
110130
.SH "SEE ALSO"
111-
hub(1), git(1), git\-clone(1),\fIhttp://github.com\fR, \fIhttp://github.com/defunkt/gist\fR
131+
hub(1), git(1), git\-clone(1), \fIhttp://github.com\fR, \fIhttp://github.com/defunkt/gist\fR

man/gist.1.html

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

0 commit comments

Comments
 (0)