blob: d407b7dee127b10a82c2b8e5101b44ce6996a24e [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 Hamanoc9cb5172018-06-01 07:13:446gitrevisions - 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
Junio C Hamano980e61e2018-09-17 22:45:5222In addition, some Git commands (such as linkgit:git-show[1] and
23linkgit:git-push[1]) can also take revision parameters which denote
24other objects than commits, e.g. blobs ("files") or trees
25("directories of files").
Junio C Hamano78e3a782010-07-15 22:24:4526
27include::revisions.txt[]
28
29
30SEE ALSO
31--------
32linkgit:git-rev-parse[1]
33
34GIT
35---
36Part of the linkgit:git[1] suite