refactor: 修改git hook文件
This commit is contained in:
@@ -46,7 +46,7 @@ try {
|
|||||||
throw new \Exception('FAILED - json decode - '. json_last_error());
|
throw new \Exception('FAILED - json decode - '. json_last_error());
|
||||||
}
|
}
|
||||||
|
|
||||||
exec('sudo git pull origin dev --rebase 2>&1', $result);
|
exec('git pull origin dev --rebase 2>&1', $result);
|
||||||
|
|
||||||
var_export($result);exit;
|
var_export($result);exit;
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
|
|||||||
Reference in New Issue
Block a user