提交 99e09cce 编写于 作者: J Junio C Hamano

Documentation: minor rewording for git-log and git-show pages.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 5dc7bcc2
...@@ -31,7 +31,9 @@ include::pretty-formats.txt[] ...@@ -31,7 +31,9 @@ include::pretty-formats.txt[]
Limits the number of commits to show. Limits the number of commits to show.
<since>..<until>:: <since>..<until>::
Show only commits between the named two commits. Show only commits between the named two commits. When
either <since> or <until> is omitted, it defaults to
`HEAD`, i.e. the tip of the current branch.
-p:: -p::
Show the change the commit introduces in a patch form. Show the change the commit introduces in a patch form.
......
...@@ -30,8 +30,8 @@ This manual page describes only the most frequently used options. ...@@ -30,8 +30,8 @@ This manual page describes only the most frequently used options.
OPTIONS OPTIONS
------- -------
<commitid>:: <object>::
ID of the commit to show. The name of the object to show.
include::pretty-formats.txt[] include::pretty-formats.txt[]
...@@ -40,7 +40,8 @@ EXAMPLES ...@@ -40,7 +40,8 @@ EXAMPLES
-------- --------
git show v1.0.0:: git show v1.0.0::
Shows the tag `v1.0.0`. Shows the tag `v1.0.0`, along with the object the tags
points at.
git show v1.0.0^{tree}:: git show v1.0.0^{tree}::
Shows the tree pointed to by the tag `v1.0.0`. Shows the tree pointed to by the tag `v1.0.0`.
...@@ -62,7 +63,8 @@ include::i18n.txt[] ...@@ -62,7 +63,8 @@ include::i18n.txt[]
Author Author
------ ------
Written by Linus Torvalds <torvalds@osdl.org> and Written by Linus Torvalds <torvalds@osdl.org> and
Junio C Hamano <junkio@cox.net> Junio C Hamano <junkio@cox.net>. Significantly enhanced by
Johannes Schindelin <Johannes.Schindelin@gmx.de>.
Documentation Documentation
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册