Я создаю новый проект в gitlab.
Я загружаю свой проект на хост, мне нужно получить последнее обновление формы gitlab с функцией в laravel.
Моя функция:
ssh: Could not resolve hostname shayvard: Temporary failure in name resolution
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Я создаю новый проект в gitlab. Я загружаю свой проект на хост, мне нужно получить последнее обновление формы gitlab с функцией в laravel. Моя функция: [code]function execPrint($command = "git pull user:pass@gitlab.com/myProject.git") { $result = array(); exec($command, $result); print(" "); foreach ($result as $line) { print($line . "\n"); } print(""); } [/code] После запуска этой функции: [code]ssh: Could not resolve hostname shayvard: Temporary failure in name resolution fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. [/code] Как выдать этот код?