It was so urgent that git canceled all the changes.
ringa_lee
ringa_lee 2017-05-02 09:36:09
0
6
716

I'm going to die, I undo all locally submitted changes,

I lost all the blogs I wrote for more than a month,

Dear friends, can I undo the operation I just performed?

TAT If it doesn’t work, I’m going to cry

ringa_lee
ringa_lee

ringa_lee

reply all(6)
漂亮男人

There must be more or less submission records for more than a month, otherwise you would not undo all local modifications. Return to the last modification: git reset --hard
当然你也可以git reflog去查看下记录,再git reset --hard HEAD@{num}num is the submission record number

大家讲道理

If you use PhpStorm, you can view Local History, which contains all your modification records

Ty80

git reflog可以查看你的git的操作记录,然后通过git reset --hard HEAD@{}You can roll back to a certain version

给我你的怀抱

I’m curious if it hasn’t been submitted for more than a month

我想大声告诉你

Isn’t it said that it is recorded in behavioral units

PHPzhong

If it has been committed, you can go back to a certain version based on the version number.

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