回到过去: git log
然后 git reset --hard commit ID (那段长长代码 40位)
再,回到将来git reflog
然后 git reset --hard 前面那个代码,这个样子就好啦
回到过去: git log
然后 git reset --hard commit ID (那段长长代码 40位)
再,回到将来git reflog
然后 git reset --hard 前面那个代码,这个样子就好啦
转载于:https://www.cnblogs.com/lovezbs/p/4456149.html