Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

undo last commit

$ git reset --hard HEAD~1
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #undo #commit
ADD COMMENT
Topic
Name
8+2 =