47 / 57 · 17 Git & Version Control · Tagging and Releases← prev⊞ allnext →☰ Read as one page
6.7Comparing Releases
Git makes it easy to see what changed between releases -- essential for writing test plans.
# See all commits between two releases
git log v2.3.0..v2.4.0 --oneline
# See the diff between two releases
git diff v2.3.0..v2.4.0
# See which files changed
git diff v2.3.0..v2.4.0 --stat
# See commits that touched test files
git log v2.3.0..v2.4.0 -- tests/
This helps you answer: "What changed since the last release?" -- the first question in any regression test planning session.