摘要: 一、撤回push命令: 1.撤回push: git log #查看提交记录,获取错误版本号A的前一个版本号B(我们认为想要回退到B) git reset –-soft 版本号B #回退到版本号B git push -f #强制提交当前代码,即B的代码 git log #此时最新的提交就只有版本号B的 阅读全文
posted @ 2023-02-05 21:59 小千北同学超爱写代码 阅读(45) 评论(0) 推荐(0) 编辑