1
0
Эх сурвалжийг харах

feat(ssr-download): add --rebase param to git pull

SukkaW 5 жил өмнө
parent
commit
22da5a5c1c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/Command/Job.php

+ 1 - 1
src/Command/Job.php

@@ -748,7 +748,7 @@ class Job extends Command
     public function updatedownload()
     {
         system(
-            'cd ' . BASE_PATH . '/public/ssr-download/ && git pull https://github.com/xcxnig/ssr-download.git && git gc'
+            'cd ' . BASE_PATH . '/public/ssr-download/ && git pull https://github.com/xcxnig/ssr-download.git --rebase && git gc'
         );
     }