一、进入项目路径打开git bash面板 命令:git log 或者 git log --oneline 黄色代码代表commit的序列号 找到想回退版本复制序列号 git reset --hard commit_id // commit_id 为commit序列号