mirror of
https://github.com/git/git.git
synced 2024-11-06 09:13:01 +01:00
5d1faf8791
Asciidoc-include it into the manuals for programs that use the --pretty command-line option, for consistency among the docs. This describes all the pretty-formats currently listed in the cmit_fmt enum in commit.h, and also briefly describes the presence and format of the 'Merge: ' line in some pretty formats. There's a hedge that limiting your view of history can affect what goes in the Merge: line, and that --abbrev/--no-abbrev do nothing to the 'raw' format. Signed-off-by: Chris Riddoch <chris@syntacticsugar.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
46 lines
929 B
Text
46 lines
929 B
Text
git-show(1)
|
|
===========
|
|
|
|
NAME
|
|
----
|
|
git-show - Show one commit with difference it introduces
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-show' <option>...
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Shows commit log and textual diff for a single commit. The
|
|
command internally invokes 'git-rev-list' piped to
|
|
'git-diff-tree', and takes command line options for both of
|
|
these commands. It also presents the merge commit in a special
|
|
format as produced by 'git-diff-tree --cc'.
|
|
|
|
This manual page describes only the most frequently used options.
|
|
|
|
|
|
OPTIONS
|
|
-------
|
|
<commitid>::
|
|
ID of the commit to show.
|
|
|
|
include::pretty-formats.txt[]
|
|
|
|
Author
|
|
------
|
|
Written by Linus Torvalds <torvalds@osdl.org> and
|
|
Junio C Hamano <junkio@cox.net>
|
|
|
|
|
|
Documentation
|
|
-------------
|
|
Documentation by David Greaves, Petr Baudis and the git-list <git@vger.kernel.org>.
|
|
|
|
This manual page is a stub. You can help the git documentation by expanding it.
|
|
|
|
GIT
|
|
---
|
|
Part of the gitlink:git[7] suite
|
|
|