1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 21:15:26 +02:00

gh-gist: refresh page (#10141)

This commit is contained in:
pixel 2023-05-02 17:33:56 +02:00 committed by GitHub
parent 9126c126f5
commit c5ec9ecc8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,20 +5,20 @@
- Create a new Gist from a space-separated list of files:
`gh gist create {{path/to/files}}`
`gh gist create {{path/to/file1 path/to/file2 ...}}`
- Create a new Gist with a description:
- Create a new Gist with a specific [desc]ription:
`gh gist create {{path/to/file}} --desc "{{description}}"`
`gh gist create {{path/to/file1 path/to/file2 ...}} --desc "{{description}}"`
- Edit a Gist:
`gh gist edit {{id_or_url}}`
`gh gist edit {{id|url}}`
- List Gists owned by the currently logged in user:
- List up to 42 Gists owned by the currently logged in user:
`gh gist list --limit {{int}}`
`gh gist list --limit {{42}}`
- View a Gist in the default browser without rendering Markdown:
`gh gist view {{id_or_url}} --web --raw`
`gh gist view {{id|url}} --web --raw`