Skip to content

git revert

git revert命令用于撤销commit。 把某个commit恢复到没有修改前的状态。

bash
$ git revert <commitID>

简单就是美