- 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"
- Edit a Gist:
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
gh gist <command> [flags]
Work with GitHub gists.
Clone a gist locally
Create a new gist
Delete a gist
Edit one of your gists
List your gists
View a gist
gh(1), gh-gist-clone(1), gh-gist-create(1), gh-gist-delete(1), gh-gist-edit(1), gh-gist-list(1), gh-gist-view(1).