git回滚到上一版本

  1. git reset --hard HEAD~1  
原文地址:https://www.cnblogs.com/chunguang/p/5916772.html