mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 18:26:02 +02:00
gh-gist: add page (#4898)
This commit is contained in:
parent
2f2a1144ff
commit
28a29bf304
1 changed files with 24 additions and 0 deletions
24
pages/common/gh-gist.md
Normal file
24
pages/common/gh-gist.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# gh gist
|
||||
|
||||
> Work with GitHub Gists on the command line.
|
||||
> More information: <https://cli.github.com/manual/gh_gist>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue