Scroll to navigation

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

NAME

gh-gist-view - View a gist

SYNOPSIS

gh gist view [<id> | <url>] [flags]

DESCRIPTION

View the given gist or select from recent gists.

OPTIONS

Display a single file from the gist

List file names from the gist

Print raw instead of rendered gist contents

Open gist in the browser

EXIT CODES

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.

SEE ALSO

gh-gist(1)

Oct 2024 GitHub CLI v2.58.0