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 diff-index
> 比较工作目录与一个提交或树对象。
> 更多信息:<https://git-scm.com/docs/git-diff-index>。
- 将工作目录与特定提交进行比较:
`git diff-index {{commit}}`
- 将工作目录中特定文件或目录与提交进行比较:
`git diff-index {{commit}} {{path/to/file_or_directory}}`
- 将工作目录与索引(暂存区)进行比较,以检查暂存的更改:
`git diff-index --cached {{commit}}`
- 抑制输出并返回退出状态以检查差异:
`git diff-index --quiet {{commit}}`