2010-07-05 16:11:40 +00:00
|
|
|
gitrevisions(7)
|
2015-10-22 17:09:07 +00:00
|
|
|
===============
|
2010-07-05 16:11:40 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2018-05-20 18:40:02 +00:00
|
|
|
gitrevisions - Specifying revisions and ranges for Git
|
2010-07-05 16:11:40 +00: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 07:07:44 +00:00
|
|
|
walk the revision graph (such as linkgit:git-log[1]), all commits which are
|
2016-08-12 07:07:45 +00:00
|
|
|
reachable from that commit. For commands that walk the revision graph one can
|
|
|
|
also specify a range of revisions explicitly.
|
2010-07-05 16:11:40 +00:00
|
|
|
|
|
|
|
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
|