gh-gist

Work with GitHub Gists on the command line.

TLDR

Create a new Gist from a space-separated list of files

$ gh gist create [path/to/files]
copy

Create a new Gist with a description

$ gh gist create [filename] --desc "[description]"
copy

Edit a Gist

$ gh gist edit [id_or_url]
copy

List Gists owned by the currently logged in user

$ gh gist list --limit [int]
copy

View a Gist in the default browser without rendering markdown

$ gh gist view [id_or_url] --web --raw
copy

Copied to clipboard
free 100$ digital ocean credit