Git · Middle · Question 22 of 75
What is ORIG_HEAD?
- 1The commit that
origin/HEADcurrently points to - 2The very first commit ever made in the repository
- ✓Correct answer: Where
HEADwas before a merge, rebase or reset
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.