2010-07-05 18:11:40 +02:00
|
|
|
gitrevisions(7)
|
2015-10-22 19:09:07 +02:00
|
|
|
===============
|
2010-07-05 18:11:40 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2018-05-20 20:40:02 +02:00
|
|
|
gitrevisions - Specifying revisions and ranges for Git
|
2010-07-05 18:11:40 +02:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
gitrevisions
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Many Git commands take revision parameters as arguments. Depending on
|
|
|
|
the command, they denote a specific commit or, for commands which
|
2016-08-12 09:07:44 +02:00
|
|
|
walk the revision graph (such as linkgit:git-log[1]), all commits which are
|
2016-08-12 09:07:45 +02:00
|
|
|
reachable from that commit. For commands that walk the revision graph one can
|
|
|
|
also specify a range of revisions explicitly.
|
2010-07-05 18:11:40 +02:00
|
|
|
|
2018-08-31 22:10:02 +02:00
|
|
|
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").
|
2010-07-05 18:11:40 +02:00
|
|
|
|
|
|
|
include::revisions.txt[]
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkgit:git-rev-parse[1]
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
|
|
|
Part of the linkgit:git[1] suite
|