- git log -3
//显示3条log信息
commit 7c31dd6d9bdc466a74535078a618ab0c5cc40d (HEAD -> master, origin/master, origin/HEAD)
Author: xxx<xxx@126.com>
Date: Fri Mar 23 11:16:32 2018 +0800
…………
- 回滚到指定的版本
git reset --hard 7c31dd6d9bdc466a74535078a618ab0c5cc40d
- 强制提交
git push -f origin master