File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -437,14 +437,14 @@ function url_get_contents ($Url) {
437437
438438if ((strpos ('git version ' , $ git_version )) === false ) {
439439 echo "Git is installed. \n" ;
440- // $git_fetch = shell_exec('git fetch');
441- // $git_checkout = shell_exec('git checkout '.$branch);
442- // $git_stash = shell_exec('git stash');
443- // $git_pull = shell_exec('git pull');
444- // echo $git_fetch;
445- // echo '-- '.$git_stash;
446- // echo '-- '.$git_checkout;
447- // echo '-- '.$git_pull."\n";
440+ $ git_fetch = shell_exec ('git fetch ' );
441+ $ git_checkout = shell_exec ('git checkout ' .$ branch );
442+ $ git_stash = shell_exec ('git stash ' );
443+ $ git_pull = shell_exec ('git pull ' );
444+ echo $ git_fetch ;
445+ echo '-- ' .$ git_stash ;
446+ echo '-- ' .$ git_checkout ;
447+ echo '-- ' .$ git_pull ."\n" ;
448448} else {
449449 echo "Git is NOT installed. You can still use this upgrade script to run common \n" ;
450450 echo "migration commands, but you will have to manually download the updated files. \n\n" ;
You can’t perform that action at this time.
0 commit comments