Problem Statement
Explain fast-forward merge vs `--no-ff`. When would you prefer `--no-ff`?
Explanation
A fast-forward moves the branch pointer when no divergent commits exist; no merge commit is created. `--no-ff` forces a merge commit to preserve feature-branch context—useful for code review traceability and keeping logical units in history.
Practice Sets
This question appears in the following practice sets:
