commit using -a and -m