Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to undo a commit sent that was pushed and keep local changes

git reset <previous label or sha1>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #undo #commit #pushed #local
ADD COMMENT
Topic
Name
7+1 =