xieruidong 2 gadi atpakaļ
vecāks
revīzija
1b2fe65e74
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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);