brewly — Ch.9 · Ask the history
Exercise 1 of 5
Before you start
Filtering the log
A real history is too long to read. git log can show only what you ask for, and the filters can be combined.
Everything after -- is a file or folder: only commits that changed it are shown.
- git log --oneline --author=<name>
- commits by one person
- git log --oneline --grep=<word>
- messages that mention a word
- git log --oneline -- <file>
- commits that changed a file
- git log --oneline --since=2026-01-12
- only commits from that day on
You can reopen this any time with “Lesson”.
# BrewlyOrder coffee ahead.## Team- Maya (lead)- Alex (frontend)
Graph
- a07d17e Widen the page marginHEAD → main
- d91e73d Open earlier on Fridays
- 350187a Round the cart total
- 1a838c9 Introduce discount codes
- 0ac68d2 Add the oat flat white
- a212686 Add opening hours
- 1354d06 Add menu pageorigin/main
- 619eb3b Style the order button
- 5fc44ac Initial commit