diff --git a/src/BobDBuilder/Cmd/Traits/Make/AutoDeploy.php b/src/BobDBuilder/Cmd/Traits/Make/AutoDeploy.php index 9402443..6c04fca 100644 --- a/src/BobDBuilder/Cmd/Traits/Make/AutoDeploy.php +++ b/src/BobDBuilder/Cmd/Traits/Make/AutoDeploy.php @@ -113,9 +113,9 @@ public function ad_default_files(string $pattern, string $domain_dir): void die; } - echo shell_exec("git checkout \$main_branch 2>&1"); - echo shell_exec('git pull 2>&1'); - echo shell_exec("git reset --hard origin/\$main_branch 2>&1"); + echo shell_exec("git checkout \$main_branch 2>&1 &"); + echo shell_exec('git fetch --all 2>&1 &'); + echo shell_exec("git reset --hard origin/\$main_branch 2>&1 &"); shell_exec("php bob link:refresh &"); print "Symlinks are being refreshed\\n";