摘要: git revert -n indexgit revert 和 git reset的区别1. git revert是用一次新的commit来回滚之前的commit,git reset是直接删除指定的commit。2. 在回滚这一操作上看,效果差不多。但是在日后继续merge以前的老版本时有区别。因为... 阅读全文
posted @ 2015-09-14 16:50 Magnum Programm Life 阅读(226) 评论(0) 推荐(0) 编辑