What\'s the simplest way to undo the
git reset HEAD~
command? Currently, the only way I can think of is doing a \"git clone http://...\" fr
Old question, and the posted answers work great. I'll chime in with another option though.
git reset ORIG_HEAD
ORIG_HEAD references the commit that HEAD previously referenced.
ORIG_HEAD
HEAD