git reset
回退到上一个版本
git reset --hard HEAD^ 
# 提交
git push -f 
回退到某个指定的版本
# 139xxxxxxxxxxxxxxxxxxxxxxxxxxxx 是git提交的历史版本号
git reset --hard 139xxxxxxxxxxxxxxxxxxxxxxxxxxxx 
# 提交
git push -f 
git reset --hard HEAD^ 
# 提交
git push -f 
# 139xxxxxxxxxxxxxxxxxxxxxxxxxxxx 是git提交的历史版本号
git reset --hard 139xxxxxxxxxxxxxxxxxxxxxxxxxxxx 
# 提交
git push -f 
