1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00

git-{check-mailmap, check-ref-format}: add Chinese translation (#16088)

This commit is contained in:
Ziqiang Wu 2025-04-12 15:56:08 +08:00 committed by GitHub
parent 3acd696f72
commit cc854b4551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# git check-mailmap
> 显示联系人的规范名称和电子邮件地址。
> 更多信息:<https://git-scm.com/docs/git-check-mailmap>.
- 查找与电子邮件地址关联的规范名称:
`git check-mailmap "<{{邮箱@example.com}}>"`

View 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}}`