diff --git a/pages/common/git-rev-list.md b/pages/common/git-rev-list.md index fbb7a59262..9121cdf04b 100644 --- a/pages/common/git-rev-list.md +++ b/pages/common/git-rev-list.md @@ -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`