зеркало из https://github.com/microsoft/git.git
[PATCH] document command to show diff of a commit
Document the best way to show the change introduced by a commit, based on the suggestion by Linus on the list. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
e20b134d72
Коммит
ff8489cb0a
|
@ -9,12 +9,15 @@ git-diff-tree - Compares the content and mode of blobs found via two tree object
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git-diff-tree' [--stdin] [-m] [-s] [-v] [--pretty] [-t] [<common diff options>] <tree-ish> <tree-ish> [<path>...]
|
'git-diff-tree' [--stdin] [-m] [-s] [-v] [--pretty] [-t] [<common diff options>] <tree-ish> [<tree-ish>] [<path>...]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
Compares the content and mode of the blobs found via two tree objects.
|
Compares the content and mode of the blobs found via two tree objects.
|
||||||
|
|
||||||
|
If there is only one <tree-ish> given, the commit is compared with its parents
|
||||||
|
(see --stdin below).
|
||||||
|
|
||||||
Note that "git-diff-tree" can use the tree encapsulated in a commit object.
|
Note that "git-diff-tree" can use the tree encapsulated in a commit object.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
|
|
Загрузка…
Ссылка в новой задаче