git回滚操作

一,找到之前的版本历史纪录,确定要回滚到那个版本号:git log

二,回滚到这个版本:git reset --hard 72229f823c8b21cbe52142a944d74f1883fa41aa

这样就回滚到这个版本了。

原文地址:https://www.cnblogs.com/chaojiyingxiong/p/11659974.html