Revert to the last commit.