1.找到最后一次提交到master分支的版本号,即【merge前的版本号】
git log --pretty=oneline


2.回退到指定版本
git reset --hard 【merge前的版本号】

相关文章: