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,20 @@
# git ls-tree
> 列出树对象的内容。
> 更多信息:<https://git-scm.com/docs/git-ls-tree>。
- 列出分支上的树的内容:
`git ls-tree {{branch_name}}`
- 列出提交上的树的内容,递归进入子树:
`git ls-tree -r {{commit_hash}}`
- 仅列出提交上树的文件名:
`git ls-tree --name-only {{commit_hash}}`
- 以树形结构打印当前分支头的文件名(注意:`tree --fromfile` 在 Windows 上不支持):
`git ls-tree -r --name-only HEAD | tree --fromfile`