Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to reverse a git pull

git reset --hard master@{"10 minutes ago"}

-----------------------------------------

git reset --keep HEAD@{1}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reverse #git #pull
ADD COMMENT
Topic
Name
8+9 =