git还原成某个点

1.本地 

   git  reset  --hard    commit值

   git  push  -f   // 强制同步到git库(git服务器)

2.项目所在线上服务器

   git  reset  --hard    commit值

原文地址:https://www.cnblogs.com/xiaoyueer/p/4049627.html