restore to previous commit.