Limits the number of commits to show.
<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::
Show the change the commit introduces in a patch form.
OPTIONS
-------
-<commitid>::
- ID of the commit to show.
+<object>::
+ The name of the object to show.
include::pretty-formats.txt[]
--------
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}::
Shows the tree pointed to by the tag `v1.0.0`.
Author
------
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