Git · Senior · Question 70 of 76
When is git merge --no-ff useful even when a fast-forward is possible?
- 1To force Git to detect conflicts more strictly
- ✓Correct answer: To keep a merge commit that groups a feature's commits
- 3To make the merge faster on large repositories
Explanation
The merge commit marks where a feature started and ended, making it easy to revert the whole feature with one git revert -m 1.