git log查找历史记录

注意: 使用前7位数字

 

git reset --hard commit_id 回滚至commit_id对应的代码

从回滚状态拉取最新的代码 git pull