Git · Junior · Question 20 of 75

What is a fast-forward merge?

Explanation

If main hasn't moved since feature branched off, merging just moves main to feature's commit, with no merge commit. --no-ff forces a merge commit anyway.

Further reading

Problem with a question

Git · Junior · question 20

Test yourself

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

Take this quiz