恢复到之前某一版本
git reset --hard b7be344
显示提交日志
$ git reflog
658c4a7 (HEAD -> dev) HEAD@{0}: reset: moving to 658c4a7
8d439fb HEAD@{1}: reset: moving to 8d439fb
f152dd5 HEAD@{2}: reset: moving to f152dd5
e9be0d7 HEAD@{3}: reset: moving to e9be0d7
bfcc66e HEAD@{4}: reset: moving to bfcc66e
远端更新
$ git remote update