Git · Middle · Question 49 of 75

What does git commit --fixup=<hash> prepare?

Explanation

It creates a commit titled fixup! <original subject>. Later git rebase -i --autosquash moves and squashes it into the target commit.

Further reading

Problem with a question

Git · Middle · question 49

Test yourself

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

Take this quiz