Answers for "undo git pull"

5

undo git pull

git reset --hard master@{"10 minutes ago"}
Posted by: Guest on August-15-2020
0

how to reverse a git pull

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

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

git reset --keep HEAD@{1}
Posted by: Guest on November-24-2020
-1

undo last git pull

git reset --hard master@{"10 minutes ago"}
Posted by: Guest on June-28-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language