Git · Middle · Question 9 of 75

What is the default mode of git reset <commit>?

Explanation

Mixed leaves your changes in the working tree as unstaged. --soft keeps them staged, --hard discards them.

Further reading

Problem with a question

Git · Middle · question 9

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