summaryrefslogtreecommitdiff
path: root/Documentation/gitrevisions.txt
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2010-07-05 18:11:40 +0200
committerJunio C Hamano <gitster@pobox.com>2010-07-05 13:39:02 -0700
commit1ed6f2c5b97de939e2f52da6a60785f3d9a3de86 (patch)
treef543aba34f6389b78a9ff82cc39ed575ebd302b5 /Documentation/gitrevisions.txt
parent5a8f311789b98cf812343f0ef854561b02144b1a (diff)
downloadgit-1ed6f2c5b97de939e2f52da6a60785f3d9a3de86.tar.gz
Documentation: gitrevisions
Create a new man page gitrevisions(7) which contains the revsions and ranges documentation but not more. This uses (per include) the same bits as the pertaining section of git-rev-parse(1). Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitrevisions.txt')
-rw-r--r--Documentation/gitrevisions.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/gitrevisions.txt b/Documentation/gitrevisions.txt
new file mode 100644
index 0000000000..fc4789f98e
--- /dev/null
+++ b/Documentation/gitrevisions.txt
@@ -0,0 +1,35 @@
+gitrevisions(7)
+================
+
+NAME
+----
+gitrevisions - specifying revisions and ranges for git
+
+SYNOPSIS
+--------
+gitrevisions
+
+
+DESCRIPTION
+-----------
+
+Many Git commands take revision parameters as arguments. Depending on
+the command, they denote a specific commit or, for commands which
+walk the revision graph (such as linkgit:git-log[1]), all commits which can
+be reached from that commit. In the latter case one can also specify a
+range of revisions explicitly.
+
+In addition, some Git commands (such as linkgit:git-show[1]) also take
+revision parameters which denote other objects than commits, e.g. blobs
+("files") or trees ("directories of files").
+
+include::revisions.txt[]
+
+
+SEE ALSO
+--------
+linkgit:git-rev-parse[1]
+
+GIT
+---
+Part of the linkgit:git[1] suite