Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

undo reset HEAD^

# To undo git reset HEAD~

#short answer
git reset 'HEAD@{1}'

#for detail go to this link
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #undo #reset
ADD COMMENT
Topic
Name
9+9 =