$ ./guess_the_languageGit
Git · easy · #25

What does --oneline change in the output?

git log --oneline
  1. Each commit is a short hash plus subject
  2. Only the most recent commit is shown
  3. Only commits from one branch are shown
  4. 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.
Play Git ▸