blob: 27dec5b91d08bbdb114400dd3c86a8cf515e8774 [file] [log] [blame]
Junio C Hamano78e3a782010-07-15 22:24:451gitrevisions(7)
Junio C Hamanoee615802015-10-29 21:45:262===============
Junio C Hamano78e3a782010-07-15 22:24:453
4NAME
5----
Junio C Hamano076ffcc2013-02-06 05:13:216gitrevisions - specifying revisions and ranges for Git
Junio C Hamano78e3a782010-07-15 22:24:457
8SYNOPSIS
9--------
10gitrevisions
11
12
13DESCRIPTION
14-----------
15
16Many Git commands take revision parameters as arguments. Depending on
17the command, they denote a specific commit or, for commands which
Junio C Hamanocd451662016-09-13 00:54:0918walk the revision graph (such as linkgit:git-log[1]), all commits which are
19reachable from that commit. For commands that walk the revision graph one can
20also specify a range of revisions explicitly.
Junio C Hamano78e3a782010-07-15 22:24:4521
22In addition, some Git commands (such as linkgit:git-show[1]) also take
23revision parameters which denote other objects than commits, e.g. blobs
24("files") or trees ("directories of files").
25
26include::revisions.txt[]
27
28
29SEE ALSO
30--------
31linkgit:git-rev-parse[1]
32
33GIT
34---
35Part of the linkgit:git[1] suite