add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

32
pages.zh/common/gist.md Normal file
View File

@@ -0,0 +1,32 @@
# gist
> 将代码上传到 <https://gist.github.com>。
> 更多信息:<https://github.com/defunkt/gist>。
- 在这台电脑上登录 gist
`gist --login`
- 从任意数量的文本文件创建一个 gist
`gist {{file.txt}} {{file2.txt}}`
- 创建一个带有描述的私有 gist
`gist --private --description "{{一个有意义的描述}}" {{file.txt}}`
-`stdin` 读取内容并创建一个 gist
`{{echo "hello world"}} | gist`
- 列出你的公共和私有 gists
`gist --list`
- 列出任何用户的所有公共 gists
`gist --list {{username}}`
- 使用 URL 中的 ID 更新一个 gist
`gist --update {{GIST_ID}} {{file.txt}}`