xieruidong 2 년 전
부모
커밋
1b2fe65e74
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);