在 Version Control 的 log 右键,选择要回退到的版本,选择 Reset Current Branch to Here
上边也可以通过命令行完成
git log 查看历史版本id
git reset --soft 想要回退到的版本id
推送
git push origin master --force 强制推送到远程主分支
git push origin v1.10.88.1203 --force 强制推送到远程其他分支
在 Version Control 的 log 右键,选择要回退到的版本,选择 Reset Current Branch to Here
上边也可以通过命令行完成
git log 查看历史版本id
git reset --soft 想要回退到的版本id
推送
git push origin master --force 强制推送到远程主分支
git push origin v1.10.88.1203 --force 强制推送到远程其他分支
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。