about summary refs log tree commit diff
path: root/third_party/git/Documentation/gitrevisions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/Documentation/gitrevisions.txt')
-rw-r--r--third_party/git/Documentation/gitrevisions.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/third_party/git/Documentation/gitrevisions.txt b/third_party/git/Documentation/gitrevisions.txt
new file mode 100644
index 000000000000..d407b7dee127
--- /dev/null
+++ b/third_party/git/Documentation/gitrevisions.txt
@@ -0,0 +1,36 @@
+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 are
+reachable from that commit. For commands that walk the revision graph one can
+also specify a range of revisions explicitly.
+
+In addition, some Git commands (such as linkgit:git-show[1] and
+linkgit:git-push[1]) can 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