Github python script fatal: pathspec -


i have made github script. works fine. adds, commits, , pushes. thing , fatal: pathspec, still adds file, commits, , pushes. here code

  subprocess import call    add = raw_input('what file add?:  ')   call(["git", "add", add ])      #fatal: pathspec   here. still adds file though.   call(["git", "commit", "-m", add ])       #still commits   call(["git", "push", "origin", "master" ])      #still pushes origin master 

i can deal error. nice not have it. should use different module? in whole code have 2 if statements, im not sure if bother nothing.

i think can use gittle, gittle in git hub. makes git more easy.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -