git 分支 版本回退

本地回退:

git reset --hard HEAD~1

回退后推送到远程:

git push --force

.

原文地址:https://www.cnblogs.com/xiangsj/p/12092192.html