cancel the previous commit