summaryrefslogtreecommitdiff
path: root/Documentation/git-show.txt
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-02-07 12:47:47 +0100
committerJunio C Hamano <junkio@cox.net>2006-02-07 13:19:42 -0800
commit4e783b41e09fb14b8ff72348ec2307fd1d5dec46 (patch)
treeef3620e80b457bde01aea8f7ebe34e378e874566 /Documentation/git-show.txt
parent3904848c6ea8815236db66956f6a7d77e13fb384 (diff)
downloadgit-4e783b41e09fb14b8ff72348ec2307fd1d5dec46.tar.gz
Basic documentation for git-show
Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-show.txt')
-rw-r--r--Documentation/git-show.txt49
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt
new file mode 100644
index 0000000000..9c359a448e
--- /dev/null
+++ b/Documentation/git-show.txt
@@ -0,0 +1,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
+