brewly — Ch.8 · What is in a release?
Exercise 5 of 5
Before you start
Describing and comparing
git describe names your commit after the nearest tag: v1.1.0-2-gabc1234 means two commits after v1.1.0, at commit abc1234.
A..B in log lists the commits in B that are not in A: your release notes.
git diff A B shows what changed between them; --stat just counts per file.
- git describe
- which version am I on?
- git log --oneline <old>..<new>
- the commits in between
- git diff --stat <old> <new>
- the files that changed
You can reopen this any time with “Lesson”.
# BrewlyOrder ahead.## Team- Maya (lead)- Alex (frontend)
Graph
- d2629f5 Shorten the sloganHEAD → mainorigin/main
- ed09852 Suggest a tip
- 5a25125 List allergenstag: v1.1.0
- e16abe6 Add opening hours
- 1354d06 Add menu pagetag: v1.0.0
- 619eb3b Style the order button
- 5fc44ac Initial commit