2010-07-06 00:11:40 +08:00
|
|
|
gitrevisions(7)
|
2015-10-23 01:09:07 +08:00
|
|
|
===============
|
2010-07-06 00:11:40 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2018-05-21 02:40:02 +08:00
|
|
|
gitrevisions - Specifying revisions and ranges for Git
|
2010-07-06 00:11:40 +08: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 15:07:44 +08:00
|
|
|
walk the revision graph (such as linkgit:git-log[1]), all commits which are
|
2016-08-12 15:07:45 +08:00
|
|
|
reachable from that commit. For commands that walk the revision graph one can
|
|
|
|
also specify a range of revisions explicitly.
|
2010-07-06 00:11:40 +08:00
|
|
|
|
2018-09-01 04:10:02 +08: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-06 00:11:40 +08:00
|
|
|
|
|
|
|
include::revisions.txt[]
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkgit:git-rev-parse[1]
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
|
|
|
Part of the linkgit:git[1] suite
|