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 →
git log --oneline --no-merges v2.3.0..v2.4.0.- By author or area:
git shortlog -sn v2.3.0..v2.4.0,git log ... -- services/api. - Files:
git diff --stat v2.3.0 v2.4.0. - 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.
More on Branching Strategies and Releases
An eight-person team deploys several times a day. Which branching strategy do you recommend?IntermediateWhen would you choose GitFlow over trunk-based development?IntermediateIn trunk-based development, a feature will take three weeks. How do you merge it daily without exposing it?IntermediateYou are cutting a release. How do you manage the release branch and late fixes?IntermediateShould releases use lightweight or annotated tags?BeginnerA release tag was placed on the wrong commit and has been published. What do you do?Intermediate