git reset --hard HEAD 版本号

git reset --hard HEAD^

再pull一下

 

git reset --hard:彻底回退到某个版本,本地的源码也会变为上一个版本的内容