Interview Prep/Git & GitHub/Branching Strategies and Releases

Product asks "what exactly changed between v2.3.0 and v2.4.0?"

BeginnerScenarioBranching Strategies and Releases
Answer

Situation read → You need a commit-level and a file-level answer.

What I'd do →

  1. git log --oneline --no-merges v2.3.0..v2.4.0.
  2. By author or area: git shortlog -sn v2.3.0..v2.4.0, git log ... -- services/api.
  3. Files: git diff --stat v2.3.0 v2.4.0.
  4. On GitHub: compare view at /compare/v2.3.0...v2.4.0.

Why → Two dots in git log means "reachable from the second but not the first".

Interview tip → Squash merges make PR titles the best change list.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching Strategies and Releases