summaryrefslogtreecommitdiff
path: root/Documentation/git-show.txt
blob: 2b4df3f96f76dd023721ab03a149afd6ed8c5dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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.

--pretty=<format>::
	Controls the output format for the commit logs.
	<format> can be one of 'raw', 'medium', 'short', 'full',
	and 'oneline'.

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