Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
InfrastructureJuniorOccasionalTheory

How do commits, branches and merges support safe delivery work?

Answer

A commit records a snapshot and parent history, a branch names a moving line of development, and a merge combines histories. Small coherent commits and reviewed branches make changes traceable, reversible and easier to validate in CI.

Strong answer includes

  • snapshot and history
  • branch as a reference
  • review and rollback value

Practical example

A developer accidentally breaks a feature; because the work was done in small, well-described commits on a feature branch, the team quickly bisects the history to find the exact commit that introduced the regression and reverts just that one change instead of the entire two-week branch.

#git#branches#version-control

Sources

Git referenceGit Project · Version control concepts and commandsDOU — QA interview: 250+ questionsDOU · Coverage signal across Junior, Middle, Senior, AQA, web, mobile and practical topics