mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
git-{cola, column, commit-graph}: add Chinese translation (#16107)
This commit is contained in:
parent
5547815aff
commit
b8f359afa0
3 changed files with 56 additions and 0 deletions
24
pages.zh/common/git-cola.md
Normal file
24
pages.zh/common/git-cola.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# git cola
|
||||
|
||||
> 功能强大且界面直观的 Git 图形化界面工具。
|
||||
> 更多信息:<https://git-cola.readthedocs.io>.
|
||||
|
||||
- 启动图形界面:
|
||||
|
||||
`git cola`
|
||||
|
||||
- 以修订模式启动图形界面:
|
||||
|
||||
`git cola --amend`
|
||||
|
||||
- 提示选择 Git 仓库(默认为当前目录):
|
||||
|
||||
`git cola --prompt`
|
||||
|
||||
- 打开指定路径的 Git 仓库:
|
||||
|
||||
`git cola --repo {{路径/到/git仓库}}`
|
||||
|
||||
- 在状态组件中应用路径过滤器:
|
||||
|
||||
`git cola --status-filter {{过滤器}}`
|
16
pages.zh/common/git-column.md
Normal file
16
pages.zh/common/git-column.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# git column
|
||||
|
||||
> 以列格式显示数据。
|
||||
> 更多信息:<https://git-scm.com/docs/git-column>.
|
||||
|
||||
- 将标准输入内容格式化为多列显示:
|
||||
|
||||
`ls | git column --mode={{column}}`
|
||||
|
||||
- 以最大宽度 `100` 的列格式显示标准输入内容:
|
||||
|
||||
`ls | git column --mode=column --width={{100}}`
|
||||
|
||||
- 以最大边距 `30` 的列格式显示标准输入内容:
|
||||
|
||||
`ls | git column --mode=column --padding={{30}}`
|
16
pages.zh/common/git-commit-graph.md
Normal file
16
pages.zh/common/git-commit-graph.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# git commit-graph
|
||||
|
||||
> 生成和验证 Git 提交图文件。
|
||||
> 更多信息:<https://git-scm.com/docs/git-commit-graph>.
|
||||
|
||||
- 为仓库本地 `.git` 目录中的打包提交生成提交图文件:
|
||||
|
||||
`git commit-graph write`
|
||||
|
||||
- 生成包含所有可达提交的提交图文件:
|
||||
|
||||
`git show-ref --hash | git commit-graph write --stdin-commits`
|
||||
|
||||
- 生成包含当前提交图文件中所有提交以及从 `HEAD` 可达提交的提交图文件(追加模式):
|
||||
|
||||
`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append`
|
Loading…
Add table
Reference in a new issue