1 首先在本地, 我用idea操作
首先git ->show history
然后选择需要回退的提交点, 右键->Reset Current Branch to Here
2 然后推送到远程
git push origin dev-7023 -f
dev-7023是分支
1 首先在本地, 我用idea操作
首先git ->show history
然后选择需要回退的提交点, 右键->Reset Current Branch to Here
2 然后推送到远程
git push origin dev-7023 -f
dev-7023是分支