git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / Documentation / gitrevisions.adoc
| 1 | gitrevisions(7) |
| 2 | =============== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | gitrevisions - Specifying revisions and ranges for Git |
| 7 | |
| 8 | DESCRIPTION |
| 9 | ----------- |
| 10 | |
| 11 | Many Git commands take revision parameters as arguments. Depending on |
| 12 | the command, they denote a specific commit or, for commands which |
| 13 | walk the revision graph (such as linkgit:git-log[1]), all commits which are |
| 14 | reachable from that commit. For commands that walk the revision graph one can |
| 15 | also specify a range of revisions explicitly. |
| 16 | |
| 17 | In addition, some Git commands (such as linkgit:git-show[1] and |
| 18 | linkgit:git-push[1]) can also take revision parameters which denote |
| 19 | other objects than commits, e.g. blobs ("files") or trees |
| 20 | ("directories of files"). |
| 21 | |
| 22 | include::revisions.adoc[] |
| 23 | |
| 24 | |
| 25 | SEE ALSO |
| 26 | -------- |
| 27 | linkgit:git-rev-parse[1] |
| 28 | |
| 29 | GIT |
| 30 | --- |
| 31 | Part of the linkgit:git[1] suite |