I was messing about with reset
after reading stuff in the Pro Git book.
I basically ended up doing a reset --hard
to a revision 12 commits previous.
I can't seem to get back to the present, or the latest commit. I've tried reset
using ORIG_HEAD
and even feeding it in the sha1 of the revision to go forward to.
Running git status
I get:
Your branch is behind by 12 commits and can be fast-forwarded.
How do I move HEAD back to the latest commit?