SyntaxFix
Write A Post
Hire A Developer
Questions
Use git reflog to find the hashes of previously checked out commits.
git reflog
A shortcut command to get to your last checked out branch (not sure if this work correctly with detached HEAD and intermediate commits though) is git checkout -
git checkout -