git-ls-tree, git-rev-list, git-rev-parse: add pages (#3644)
This commit is contained in:

committed by
Zlatan Vasović

parent
a5f91094dc
commit
a1a3faecb8
16
pages/common/git-rev-list.md
Normal file
16
pages/common/git-rev-list.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# git rev-list
|
||||
|
||||
> List revisions (commits) in reverse chronological order.
|
||||
> More information: <https://git-scm.com/docs/git-rev-list>.
|
||||
|
||||
- List all commits on the current branch:
|
||||
|
||||
`git rev-list {{HEAD}}`
|
||||
|
||||
- List commits more recent than a specific date, on a specific branch:
|
||||
|
||||
`git rev-list --since={{'2019-12-01 00:00:00'}} {{master}}`
|
||||
|
||||
- List all merge commits on a specific commit:
|
||||
|
||||
`git rev-list --merges {{commit}}`
|
Reference in New Issue
Block a user