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
Post a Comment