Skip to content

Commit 4e783b4

Browse files
Petr BaudisJunio C Hamano
authored andcommitted
Basic documentation for git-show
Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 3904848 commit 4e783b4

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

Documentation/git-show.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
git-show(1)
2+
===========
3+
4+
NAME
5+
----
6+
git-show - Show one commit with difference it introduces.
7+
8+
9+
SYNOPSIS
10+
--------
11+
'git-show' <option>...
12+
13+
DESCRIPTION
14+
-----------
15+
Shows commit log and textual diff for a single commit. The
16+
command internally invokes 'git-rev-list' piped to
17+
'git-diff-tree', and takes command line options for both of
18+
these commands. It also presents the merge commit in a special
19+
format as produced by 'git-diff-tree --cc'.
20+
21+
This manual page describes only the most frequently used options.
22+
23+
24+
OPTIONS
25+
-------
26+
<commitid>::
27+
ID of the commit to show.
28+
29+
--pretty=<format>::
30+
Controls the output format for the commit logs.
31+
<format> can be one of 'raw', 'medium', 'short', 'full',
32+
and 'oneline'.
33+
34+
Author
35+
------
36+
Written by Linus Torvalds <torvalds@osdl.org> and
37+
Junio C Hamano <junkio@cox.net>
38+
39+
40+
Documentation
41+
-------------
42+
Documentation by David Greaves, Petr Baudis and the git-list <git@vger.kernel.org>.
43+
44+
This manual page is a stub. You can help the git documentation by expanding it.
45+
46+
GIT
47+
---
48+
Part of the gitlink:git[7] suite
49+

0 commit comments

Comments
 (0)