Answers for "how to revert a pull branch"

10

undo git pull

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

undo git pull origin master into feature branch

# shows every {ID}, position of HEAD in last 30 days (by default)
git reflog 

# reset to that specific commit 
git reset --hard <specific_id>
Posted by: Guest on July-01-2020

Code answers related to "how to revert a pull branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language