Git · Middle · Question 65 of 75
What does git log --first-parent main show?
- ✓Correct answer: Only the commits made or merged directly on
main - 2Only the very first commit on
main - 3Commits from the parent repository of a fork
Explanation
It follows only the first parent of merges, giving a clean list of merged PRs instead of every commit inside each branch.