idea 的git代码回退回某个版本

intellij idea 的git代码回退回滚

 

img

找到Reset HEAD

img

填写提交码,注意这里要选择“hard”

img

使用命令行强制提交代码

git push -f

原文地址:https://www.cnblogs.com/q1359720840/p/14481993.html