logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hub-gist - Create and print GitHub Gists

Commands

create
           Create a new gist. If no FILES are specified, the content is read from standard input.

       show
           Print the contents of a gist. If the gist contains multiple files, the operation will error out
           unless FILENAME is specified.

Examples

           $ echo hello | hub gist create --public

           $ hub gist create file1.txt file2.txt

           # print a specific file within a gist:
           $ hub gist show ID testfile1.txt

Name

       hub-gist - Create and print GitHub Gists

Options

       --public
           Make the new gist public (default: false).

       -o, --browse
           Open the new gist in a web browser.

       -c, --copy
           Put the URL of the new gist to clipboard instead of printing it.

See Also

hub(1), hub-api(1)

hub version 2.14.2                                 24 Aug 2023                                       hub-gist(1)

Synopsis

hubgist create [-oc] [--public] [FILES...]
       hubgist show ID [FILENAME]

See Also