Man page - hub-gist(1)
Packages contas this manual
- hub-checkout(1)
- hub-fetch(1)
- hub-am(1)
- hub-release(1)
- hub-submodule(1)
- hub-merge(1)
- hub(1)
- hub-fork(1)
- hub-sync(1)
- hub-pull-request(1)
- hub-init(1)
- hub-help(1)
- hub-remote(1)
- hub-clone(1)
- hub-create(1)
- hub-pr(1)
- hub-alias(1)
- hub-compare(1)
- hub-push(1)
- hub-api(1)
- hub-apply(1)
- hub-gist(1)
- hub-browse(1)
- hub-cherry-pick(1)
- hub-issue(1)
- hub-delete(1)
- hub-ci-status(1)
Package: hub
apt-get install hub
apt-get install hub
Manuals in package:
Documentations in package:
Manual
| hub-gist(1) | hub manual | hub-gist(1) |
NAME
hub-gist - Create and print GitHub Gists
SYNOPSIS
hub gist create [-oc] [--public] [FILES...]
hub gist show ID [FILENAME]
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.
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.
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
SEE ALSO
hub(1), hub-api(1)
| 22 Jun 2025 | hub version 2.14.2 |