Git · Junior · Question 45 of 75

What makes a good commit message?

Explanation

For example, "Fix crash when cart is empty", then a blank line and an explanation. The diff already shows what changed; the message should say why.

Further reading

Problem with a question

Git · Junior · question 45

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