command line add and commit