xieruidong 2 năm trước cách đây
mục cha
commit
1b2fe65e74
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      public/gitpull.php

+ 1 - 0
public/gitpull.php

@@ -1,4 +1,5 @@
 <?php
+exec("cd .. && git reset --hard",$out);
 exec("cd .. && git pull 2<&1",$out);
 header('Content-type: application/json');
 echo json_encode($out);