add new chinese translations
This commit is contained in:
12
pages.zh/common/git-show-index.md
Normal file
12
pages.zh/common/git-show-index.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# git show-index
|
||||
|
||||
> 显示 Git 仓库的打包档案索引。
|
||||
> 更多信息:<https://git-scm.com/docs/git-show-index>。
|
||||
|
||||
- 读取 Git 包文件的 IDX 文件,并将其内容转储到 `stdout`:
|
||||
|
||||
`git show-index {{path/to/file.idx}}`
|
||||
|
||||
- 指定索引文件的哈希算法(实验性):
|
||||
|
||||
`git show-index --object-format={{sha1|sha256}} {{path/to/file}}`
|
Reference in New Issue
Block a user