Git · Junior · Question 16 of 75

git push is rejected with "non-fast-forward". What does it mean?

Explanation

Someone pushed new commits, and your branch doesn't include them. Pull (merge or rebase), resolve any conflicts, then push. Forcing would overwrite their work.

Further reading

Problem with a question

Git · Junior · question 16

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