Support updating commits directly
Delete commit if it has no events.