git 回退到某个特定提交

1、先用git log

commit aba290c570d3894f4f39a1fdf52aa512c0231525
Author: huzhengbo <2951235220@qq.com>
Date:   Mon Jul 31 17:19:56 2017 +0800

    fix BUG PAAS-907 增加创建存储和删除存储的立即推送

找到提交的版本号,上面红色部分

2、git reset

git reset --hard aba290c570d3894f4f39a1fdf52aa512c0231525
原文地址:https://www.cnblogs.com/boshen-hzb/p/7264326.html