有时候执行 git merge branch_name,但是执行以后 又想取消,可以按下面的命令执行
①$ git reflog
②git reset --hard commit-before-the-merge
$ git reset --hard f615238
指尖上的记忆有时候执行 git merge branch_name,但是执行以后 又想取消,可以按下面的命令执行
①$ git reflog
②git reset --hard commit-before-the-merge
$ git reset --hard f615238