File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ def init():
5
5
# git add <filename>
6
6
def createReadme ():
7
7
if _platform == "linux" or _platform == "linux2" :
8
- print ('touch README.md' )
8
+ call ('touch README.md' )
9
9
elif _platform == "darwin" :
10
- print ('touch README.md' )
10
+ call ('touch README.md' )
11
11
elif _platform == "win32" :
12
- print ('type nul>README.md' )
12
+ call ('type nul>README.md' )
13
13
14
14
15
15
# Windows
16
16
def add (filelist ):
17
17
for file in filelist :
18
18
# perform git add on file
19
19
print ("Adding" , file )
20
- print (('git add ' + file ))
20
+ call (('git add ' + file ))
21
21
22
22
# git commit -m "passed message"
23
23
def commit (filelist ):
@@ -38,5 +38,5 @@ def commit(filelist):
38
38
call ('cls' , shell = True )
39
39
# git push
40
40
def 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