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

View File

@@ -0,0 +1,24 @@
# git symbolic-ref
> 读取、改变或删除存储引用的文件。
> 更多信息:<https://git-scm.com/docs/git-symbolic-ref>。
- 通过名称存储引用:
`git symbolic-ref refs/{{name}} {{ref}}`
- 通过名称存储引用,包括更新原因的消息:
`git symbolic-ref -m "{{message}}" refs/{{name}} refs/heads/{{branch_name}}`
- 通过名称读取引用:
`git symbolic-ref refs/{{name}}`
- 通过名称删除引用:
`git symbolic-ref --delete refs/{{name}}`
- 对于脚本,使用 `--quiet` 隐藏错误,并使用 `--short` 简化输出“refs/heads/X” 输出为 “X”
`git symbolic-ref --quiet --short refs/{{name}}`