git代码恢复 2023年12月07日 10:06:44 | 783 浏览 | 0 评论 | git 本地代码恢复 获取要恢复的commitId git log 回滚到当前Id git reset --hard d8c392a0b0c4e1788b5b9de730801e21356475a2 远程代码覆盖 上面命令的基础上强制推送 git push -f origin