Undo git reset
git reset HEAD@{1}
Written by Adam Stankiewicz
Related protips
1 Response
Assuming reflogging is turned on.
You should elaborate on how this works, ie, ref@{n} is a symbolic ref for n entries ago in ref's reflog.
Recent versions of git also support @{2.days.ago} etc.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#