git rev-list: add --count example (#6459)

beep
marchersimon 2021-09-03 21:12:35 +02:00 committed by GitHub
parent e397df7543
commit 585954e9d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -14,3 +14,7 @@
- List all merge commits on a specific commit:
`git rev-list --merges {{commit}}`
- Print the number of commits since a specific tag:
`git rev-list {{tag_name}}..HEAD --count`