gh gist
Work with GitHub Gists on the command-line.
- Create a new Gist from a space-separated list of files:
gh gist create {path/to/files}
- Create a new Gist with a description:
gh gist create {filename} --desc "{description}"
gh gist edit {id_or_url}
- List Gists owned by the currently logged in user:
gh gist list --limit {int}
- View a Gist in the default browser without rendering Markdown:
gh gist view {id_or_url} --web --raw
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).