1.恢复到指定的提交
git reset --hard <target_commit_id>
2.强制更新远程的分支指针
git push -f
git 常用指令
最新推荐文章于 2025-05-13 09:46:54 发布
1.恢复到指定的提交
git reset --hard <target_commit_id>
2.强制更新远程的分支指针
git push -f