Git · Junior · Question 36 of 75
Which command shows a compact one-line history?
- ✓Correct answer:
git log --oneline - 2
git status --short - 3
git show --brief
Explanation
--oneline prints a short hash and the subject. Add --graph --all to see how branches diverge and merge.