摘要: 在git push的时候,有时候我们会想办法撤销git commit的内容 1、找到之前提交的git commit的id git log 找到想要撤销的id 2、git reset –hard id 完成撤销,同时将代码恢复到前一commit_id 对应的版本 3、git reset id 完成Co 阅读全文
posted @ 2018-06-15 16:16 天涯过者 阅读(102) 评论(0) 推荐(0) 编辑