Skip to content

Commit b35303c

Browse files
committed
modify file
1 parent 29d8c28 commit b35303c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

subprocess_git.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
print os.getcwd()
2222

2323
bash = "git"
24-
para = "pull"
25-
option = "-p"
26-
url = "git@github.com:PythonObject/teris.git"
27-
retcode = subprocess.call([bash, para, option, url])
24+
active = "push"
25+
option = "test"
26+
branch = "master"
27+
# url = "git@github.com:PythonObject/python_base_subprocess_test_repository.git"
28+
retcode = subprocess.call([bash, active, option, branch])
2829
print retcode
2930

0 commit comments

Comments
 (0)