reset a commit.