暂定此文件为a.jsp 1.首先到a.jsp所在目录: 通过 git log a.jsp 查看a.jsp的更改记录 2.找到想要回退的版本号:例如 fcd2093 通过 git reset fcd2093 a.jsp 把文件回退 3.提交本次回退 git commit -m "注释内容" 4.选中该文件 git checkout a.jsp 5.push到远程目录 git push origin branch 例如 : git push origin bugfix/req-910