@matheusbsbs / matheus-bagliano / commits / 4e783b41e0
Fork 0

Basic documentation for git-show

Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>

Petr Baudis committed Feb 7, 2006 at 12:47 UTC 4e783b41e09fb14b8ff72348ec2307fd1d5dec46
1 file changed +49
Documentation/git-show.txt new
+49
@@ -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 +