Git · Senior · Question 70 of 76

When is git merge --no-ff useful even when a fast-forward is possible?

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.

Further reading

Problem with a question

Git · Senior · question 70

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz