Git · Middle · Question 22 of 75

What is ORIG_HEAD?

Explanation

After a bad merge or rebase, git reset --hard ORIG_HEAD returns to the previous state. The reflog offers the same and more history.

Further reading

Problem with a question

Git · Middle · question 22

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