GH-GIST(1) GitHub CLI manual GH-GIST(1)

gh-gist - Manage gists

gh gist <command> [flags]

Work with GitHub gists.

gh-gist-clone(1)
Clone a gist locally
gh-gist-create(1)
Create a new gist
gh-gist-delete(1)
Delete a gist
gh-gist-edit(1)
Edit one of your gists
gh-gist-list(1)
List your gists
gh-gist-rename(1)
Rename a file in a gist
gh-gist-view(1)
View a gist

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

gh(1)

Jun 2025