gist Command Examples

Upload code to https://gist.github.com. More information: https://github.com/defunkt/gist.

gist --login

gist {{file.txt}} {{file2.txt}}

gist --private --description "{{A meaningful description}}" {{file.txt}}

{{echo "hello world"}} | gist

gist --list

gist --list {{username}}

gist --update {{GIST_ID}} {{file.txt}}