mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
git-{check-mailmap, check-ref-format}: add Chinese translation (#16088)
This commit is contained in:
parent
3acd696f72
commit
cc854b4551
2 changed files with 24 additions and 0 deletions
8
pages.zh/common/git-check-mailmap.md
Normal file
8
pages.zh/common/git-check-mailmap.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# git check-mailmap
|
||||
|
||||
> 显示联系人的规范名称和电子邮件地址。
|
||||
> 更多信息:<https://git-scm.com/docs/git-check-mailmap>.
|
||||
|
||||
- 查找与电子邮件地址关联的规范名称:
|
||||
|
||||
`git check-mailmap "<{{邮箱@example.com}}>"`
|
16
pages.zh/common/git-check-ref-format.md
Normal file
16
pages.zh/common/git-check-ref-format.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# git check-ref-format
|
||||
|
||||
> 检查引用名称格式是否合法,不合法时返回非零状态码。
|
||||
> 更多信息:<https://git-scm.com/docs/git-check-ref-format>.
|
||||
|
||||
- 检查指定引用名称的格式是否合法:
|
||||
|
||||
`git check-ref-format {{refs/head/refname}}`
|
||||
|
||||
- 打印最近检出的分支名称
|
||||
|
||||
`git check-ref-format --branch @{-1}`
|
||||
|
||||
- 规范化引用名称格式:
|
||||
|
||||
`git check-ref-format --normalize {{refs/head/refname}}`
|
Loading…
Add table
Reference in a new issue