git回滚到指定版本强制提交

548 阅读1分钟

1.git log查看历史提交版本
2.git reset --hard version 回滚到指定版本
3.git push -f origin feature 推送到远程分支