git revert与git reset DroidMind 2019-02-20 312 阅读1分钟 git revert 是撤销某次操作,此次操作之前的commit都会被保留 git reset 是撤销某次提交,但是此次之后的修改都会被退回到暂存区