need git expert who knows ubuntu command as well

Job ID: 36262145

Budget: $2 – $8 USD

5$ fixed

need git expert who knows ubuntu command as well

working in command line but not with PHP. getting this error Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists



$cmd = "cd .. && git fetch origin && git reset --hard origin/main";
$output = array();
exec($cmd, $output);
print_r($output);
Related categories: PHP Linux Ubuntu