1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 09:42:07 +02:00
tldr/pages/common/gh-gist.md
pixel 263508cd44
*: replace file(s) syntax and add path/to/ to more things (#9592)
* Fix file(s) and more path/to

* Update pages.it/common/rm.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>

* thanks emily your suggestion was dogshit

https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2022-12-06 16:47:56 +10:00

24 lines
553 B
Markdown

# 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 {{path/to/file}} --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`