git-rev-list
List revisions (commits) in reverse chronological order. tldr-pages
On several platforms
Several platforms
List all commits on the current branch
git rev-list HEADIdentifyPrint the latest commit that changed (add/edit/remove) a specific file on the current branch
git rev-list --max-count 1 HEAD -- path/to/fileIdentifyList commits more recent than a specific date, on a specific branch
git rev-list --since "2019-12-01 00:00:00" branch_nameIdentifyList all merge commits on a specific commit
git rev-list --merges commitIdentifyPrint the number of commits since a specific tag
git rev-list tag_name..HEAD --countIdentify