GitCheatSheet.org logo
Home / How To

Revert a commit

git revert abc123

Reverts changes introduced by that commit "abc123" by creatting another commit that is the "opposite" of "abc123".