Michael J Gruber | 1ed6f2c | 2010-07-05 18:11:40 +0200 | [diff] [blame] | 1 | gitrevisions(7) |
Junio C Hamano | 142d035 | 2015-10-22 10:09:07 -0700 | [diff] [blame] | 2 | =============== |
Michael J Gruber | 1ed6f2c | 2010-07-05 18:11:40 +0200 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Nguyễn Thái Ngọc Duy | 1b81d8c | 2018-05-20 20:40:02 +0200 | [diff] [blame] | 6 | gitrevisions - Specifying revisions and ranges for Git |
Michael J Gruber | 1ed6f2c | 2010-07-05 18:11:40 +0200 | [diff] [blame] | 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | gitrevisions |
| 11 | |
| 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 15 | |
| 16 | Many Git commands take revision parameters as arguments. Depending on |
| 17 | the command, they denote a specific commit or, for commands which |
Philip Oakley | 6cb4f78 | 2016-08-12 08:07:44 +0100 | [diff] [blame] | 18 | walk the revision graph (such as linkgit:git-log[1]), all commits which are |
Philip Oakley | 8cf5739 | 2016-08-12 08:07:45 +0100 | [diff] [blame] | 19 | reachable from that commit. For commands that walk the revision graph one can |
| 20 | also specify a range of revisions explicitly. |
Michael J Gruber | 1ed6f2c | 2010-07-05 18:11:40 +0200 | [diff] [blame] | 21 | |
Ævar Arnfjörð Bjarmason | fe802bd | 2018-08-31 20:10:02 +0000 | [diff] [blame] | 22 | In addition, some Git commands (such as linkgit:git-show[1] and |
| 23 | linkgit:git-push[1]) can also take revision parameters which denote |
| 24 | other objects than commits, e.g. blobs ("files") or trees |
| 25 | ("directories of files"). |
Michael J Gruber | 1ed6f2c | 2010-07-05 18:11:40 +0200 | [diff] [blame] | 26 | |
| 27 | include::revisions.txt[] |
| 28 | |
| 29 | |
| 30 | SEE ALSO |
| 31 | -------- |
| 32 | linkgit:git-rev-parse[1] |
| 33 | |
| 34 | GIT |
| 35 | --- |
| 36 | Part of the linkgit:git[1] suite |