test commit by command line