Urgent! Urgent! How to undo git pull misoperation?
过去多啦不再A梦
过去多啦不再A梦 2017-05-02 09:41:21
0
4
609

Urgent! How to undo git pull misoperation? Accidentally git pulled. . . . .

过去多啦不再A梦
过去多啦不再A梦

reply all(4)
某草草

If there is no conflict, just switch to the submission you need.

仅有的幸福
git reset --hard
Peter_Zhu

You can go back to the previous version

过去多啦不再A梦

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template