add new chinese translations
This commit is contained in:
20
pages.zh/common/git-diff-tree.md
Normal file
20
pages.zh/common/git-diff-tree.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# git diff-tree
|
||||
|
||||
> 比较通过两个树对象找到的 blob 的内容和模式。
|
||||
> 更多信息请访问:<https://git-scm.com/docs/git-diff-tree>。
|
||||
|
||||
- 比较两个树对象:
|
||||
|
||||
`git diff-tree {{tree-ish1}} {{tree-ish2}}`
|
||||
|
||||
- 显示两个特定提交之间的变化:
|
||||
|
||||
`git diff-tree -r {{commit1}} {{commit2}}`
|
||||
|
||||
- 以补丁格式显示变化:
|
||||
|
||||
`git diff-tree {{-p|--patch}} {{tree-ish1}} {{tree-ish2}}`
|
||||
|
||||
- 按特定路径过滤变化:
|
||||
|
||||
`git diff-tree {{tree-ish1}} {{tree-ish2}} -- {{path/to/file_or_directory}}`
|
Reference in New Issue
Block a user