File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ def init():
55# git add <filename>
66def createReadme ():
77 if _platform == "linux" or _platform == "linux2" :
8- print ('touch README.md' )
8+ call ('touch README.md' )
99 elif _platform == "darwin" :
10- print ('touch README.md' )
10+ call ('touch README.md' )
1111 elif _platform == "win32" :
12- print ('type nul>README.md' )
12+ call ('type nul>README.md' )
1313
1414
1515# Windows
1616def add (filelist ):
1717 for file in filelist :
1818 # perform git add on file
1919 print ("Adding" , file )
20- print (('git add ' + file ))
20+ call (('git add ' + file ))
2121
2222# git commit -m "passed message"
2323def commit (filelist ):
@@ -38,5 +38,5 @@ def commit(filelist):
3838 call ('cls' , shell = True )
3939# git push
4040def push (url , branch ):
41- print ('git push -u ' + url + ' ' + branch )
42- #added a comment
41+ call ('git push -u ' + url + ' ' + branch )
42+ #added a comment
You can’t perform that action at this time.
0 commit comments