摘要: 1.git删除push到远程服务器的commit # 1.通过找到想要退回到的哪个commit_id $ git log # 2.本地代码变成某个提交记录时刻的代码 $ git reset --hard commit_id # 3.推送到服务器,一定要加 --force 参数 "master":对应 阅读全文
posted @ 2020-07-21 15:50 牛奔 阅读(4170) 评论(0) 推荐(0) 编辑