gist: add two examples (#1453)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
91d54f868e
commit
563ccc9b2a
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
> Upload code to https://gist.github.com.
|
> Upload code to https://gist.github.com.
|
||||||
|
|
||||||
|
- Login in gist on this computer:
|
||||||
|
|
||||||
|
`gist --login`
|
||||||
|
|
||||||
- Create a gist from any number of text files:
|
- Create a gist from any number of text files:
|
||||||
|
|
||||||
`gist {{file.txt}} {{file2.txt}}`
|
`gist {{file.txt}} {{file2.txt}}`
|
||||||
@@ -18,6 +22,10 @@
|
|||||||
|
|
||||||
`gist -l`
|
`gist -l`
|
||||||
|
|
||||||
|
- List all gists for the currently logged in user:
|
||||||
|
|
||||||
|
`gist -l {{user_name}}`
|
||||||
|
|
||||||
- Use the id from the gist URL to modify or include a file:
|
- Use the id from the gist URL to modify or include a file:
|
||||||
|
|
||||||
`gist -u {{GIST_ID}} {{file.txt}}`
|
`gist -u {{GIST_ID}} {{file.txt}}`
|
||||||
|
Reference in New Issue
Block a user