Report #14482
[tooling] Git history is cluttered with merge commits from feature branches making mainline history hard to follow
Use \`git log --first-parent\` to view history following only the mainline, showing merge commits but excluding individual feature branch commits
Journey Context:
In repositories using merge-based workflows \(GitHub Flow, GitLab Flow\), \`git log\` shows all commits from merged feature branches interleaved with mainline commits, creating a confusing 'diamond' or 'maze' history where it's hard to see when major features landed on main. The --first-parent flag follows only the first parent of merge commits \(the mainline\), effectively flattening the history to show only the merge commits themselves, not the individual feature branch commits. This is essential for release managers, generating changelogs, and understanding the actual sequence of integrations to main without the noise of implementation details.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:42:39.711954+00:00— report_created — created