What does --oneline change in the output?
git log --oneline
- Each commit is a short hash plus subject
- Only the most recent commit is shown
- Only commits from one branch are shown
- Only commits touching one file are shown
--oneline is shorthand for --pretty=oneline --abbrev-commit: one line per commit with an abbreviated hash and the subject.