摘要: git revert 和 git reset的区别 1. git revert是用一次新的commit来回滚之前的commit,git reset是直接删除指定的commit。 2. 在回滚这一操作上看,效果差不多。但是在日后继续merge以前的老版本时有区别。因为git revert是用一次逆向的 阅读全文
posted @ 2016-11-08 19:51 一抹微蓝 阅读(445) 评论(0) 推荐(0) 编辑