Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove the last commit git without losing changes

git reset HEAD~1 --soft   
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #commit #git #losing
ADD COMMENT
Topic
Name
1+2 =