Urgent! How to undo git pull misoperation? Accidentally git pulled. . . . .
过去多啦不再A梦2017-05-02 09:43:21
Use the git reflog command to view your historical change records,
Then you can use git reset --hard HEAD@{n}, (n is the reference position you want to roll back to) to roll back.