git log --merges --oneline

Category: Git - Core

git log --merges --oneline

List only merge commits

Filters the log to merge commits, which have two or more parents. Handy for finding where branches were integrated or spotting accidental merges. Flip it with --no-merges to see only ordinary commits.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.