Cancel previous commit.