@@ -18,7 +18,7 @@ class Git implements IGit
18
18
*/
19
19
public function tag ($ name )
20
20
{
21
- $ this ->run (" git tag " , $ name );
21
+ $ this ->run (' git tag ' , $ name );
22
22
return $ this ;
23
23
}
24
24
@@ -33,7 +33,7 @@ public function tag($name)
33
33
*/
34
34
public function merge ($ branch , $ options = NULL )
35
35
{
36
- $ this ->run (" git merge " , $ options , $ branch );
36
+ $ this ->run (' git merge ' , $ options , $ branch );
37
37
return $ this ;
38
38
}
39
39
@@ -49,7 +49,7 @@ public function merge($branch, $options = NULL)
49
49
public function branchCreate ($ name , $ checkout = FALSE )
50
50
{
51
51
// git branch $name
52
- $ this ->run (" git branch " , $ name );
52
+ $ this ->run (' git branch ' , $ name );
53
53
54
54
if ($ checkout )
55
55
{
@@ -69,7 +69,7 @@ public function branchCreate($name, $checkout = FALSE)
69
69
*/
70
70
public function branchRemove ($ name )
71
71
{
72
- $ this ->run (" git branch " , array (
72
+ $ this ->run (' git branch ' , array (
73
73
'-d ' => $ name ,
74
74
));
75
75
return $ this ;
@@ -113,7 +113,7 @@ public function branchName()
113
113
*/
114
114
public function checkout ($ name )
115
115
{
116
- $ this ->run (" git checkout " , $ name );
116
+ $ this ->run (' git checkout ' , $ name );
117
117
return $ this ;
118
118
}
119
119
@@ -134,7 +134,7 @@ public function remove($file)
134
134
135
135
foreach ($ file as $ item )
136
136
{
137
- $ this ->run (" git rm " , $ item , '-r ' );
137
+ $ this ->run (' git rm ' , $ item , '-r ' );
138
138
}
139
139
140
140
return $ this ;
@@ -157,7 +157,7 @@ public function add($file)
157
157
158
158
foreach ($ file as $ item )
159
159
{
160
- $ this ->run (" git add " , $ item );
160
+ $ this ->run (' git add ' , $ item );
161
161
}
162
162
163
163
return $ this ;
0 commit comments