commit by command