Files
tldr/pages.uk/common/gist.md
Vitor Henrique 61405c6e0e pages*: fix small typos (#11850)
* pages*: fix small typos

* pages/*: make help and version commands consistent

* pages/*: follow "path/to/file" pattern

* nop: generic display help wording
2023-12-27 12:11:30 +05:30

33 lines
1017 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gist
> Завантажує код у https://gist.github.com.
> Більше інформації: <https://github.com/defunkt/gist>.
- Увійти в gist на цьому комп'ютері:
`gist --login`
- Створити gist з будь-якої кількості текстових файлів:
`gist {{ім'я_файлу.txt}} {{ім'я_файлу2.txt}}`
- Створити приватний gist з описом:
`gist --private --description "{{Змістовний опис}}" {{ім'я_файлу.txt}}`
- Прочитати контент з `stdin` і створити gist з цього:
`{{echo "привіт світ"}} | gist`
- Перелічити свої публічні та приватні gist:
`gist --list`
- Перелічити всі публічні gist будь-якого користувача:
`gist --list {{ім'я_користувача}}`
- Оновити gist за допомогою ID з URL:
`gist --update {{GIST_ID}} {{ім'я_файлу.txt}}`