Options (4)
-p, --privatebooleanCreate a private gist with a description
Example:
gist {{[-p|--private]}} {{[-d|--description]}} "{{A meaningful description}}" {{file.txt}}-d, --descriptionbooleanCreate a private gist with a description
Example:
gist {{[-p|--private]}} {{[-d|--description]}} "{{A meaningful description}}" {{file.txt}}-l, --listbooleanList your public and private gists
Example:
gist {{[-l|--list]}}-u, --updatebooleanUpdate a gist using the ID from URL
Example:
gist {{[-u|--update]}} {{GIST_ID}} {{file.txt}}Examples (7)
Log in to gist on this computer
gist --loginCreate a gist from any number of text files
gist file.txt file2.txtCreate a private gist with a description
gist [-p|--private] [-d|--description] "A meaningful description" file.txtList your public and private gists
gist [-l|--list]List all public gists for any user
gist [-l|--list] usernameUpdate a gist using the ID from URL
gist [-u|--update] GIST_ID file.txtmade by @shridhargupta | data from tldr-pages