gist

gist

TLDR

Login in gist on this computer

>_ gist --login
copy

Create a gist from any number of text files

>_ gist [file.txt] [file2.txt]
copy

Create a private gist with a description

>_ gist -p -d ["A meaningful description"] [file.txt]
copy

Read contents from stdin and create a gist from it

>_ [echo "hello world"] | gist
copy

List your public and private gists

>_ gist -l
copy

List all gists for the currently logged in user

>_ gist -l [username]
copy

Use the id from the gist URL to modify or include a file

>_ gist -u [GIST_ID] [file.txt]
copy

Copied to clipboard
free 100$ digital ocean credit