Git records every move of HEAD. Commits "lost" to reset, rebase or amend can be found and restored.
Git records every move of HEAD. Commits "lost" to reset, rebase or amend can be found and restored.
This lesson is free with an account.
A free account saves your progress and opens every free lesson, quiz and lab. In this course that is all five modules.
Want to look around first? This lesson's lab runs in Explore, the sandbox, with no account.
Open Amend and recover with reflog in Explore