$localDir = $playerDir . 'local/';
$git = new CubeIT_CommandLine_Git($branchesDir . 'fluidbook-html5');
echo '<pre>';
- echo $git->executeCmd('fetch --all');
+ echo $git->executeCmd('pull --all');
$git = new CubeIT_CommandLine_Git($branchesDir . 'fluidbook-html5');
$b = $git->executeCmd('branch -r');
echo $b;
}
$git = new CubeIT_CommandLine_Git($branchesDir . $b);
echo $git->executeCmd('reset --hard origin/' . $b);
+ $git = new CubeIT_CommandLine_Git($branchesDir . $b);
+ echo $git->executeCmd('pull');
}
+
echo '</pre>';
file_put_contents(WS_CACHE . '/activebranches', json_encode($branches));
}