Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Undo commit and keep all files staged

git reset --soft HEAD~;
Source by bytefreaks.net #
 
PREVIOUS NEXT
Tagged: #Undo #commit #files #staged
ADD COMMENT
Topic
Name
8+6 =