File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -231,17 +231,17 @@ function cmd($command, $print = true) {
231
231
} else {
232
232
// GIT_DIR exists and hopefully already contains the correct remote origin
233
233
// so we'll fetch the changes
234
- // Checkout branch
235
- echo "\nCheckout branch $ branch \n" ;
234
+ echo "\nFetching repository from origin \n" ;
236
235
cmd (sprintf (
237
- 'git --git-dir="%s.git" --work-tree="%s" checkout %s '
236
+ 'git --git-dir="%s.git" --work-tree="%s" fetch --tags origin %s '
238
237
, GIT_DIR
239
238
, GIT_DIR
240
239
, $ branch
241
240
));
242
- echo "\nFetching repository from origin \n" ;
241
+ // Checkout branch
242
+ echo "\nCheckout branch $ branch \n" ;
243
243
cmd (sprintf (
244
- 'git --git-dir="%s.git" --work-tree="%s" fetch --tags origin %s '
244
+ 'git --git-dir="%s.git" --work-tree="%s" checkout %s '
245
245
, GIT_DIR
246
246
, GIT_DIR
247
247
, $ branch
You can’t perform that action at this time.
0 commit comments