git revert 卡霾哈霾哈 2022-01-09 281 阅读1分钟 用于给指定的提交的逆过程,也就是引入一个新提交来抵消给定提交的影响。 git revert -n CommitID 参数 -n 是 不要自动提交