cancel a commit