我尝试提取的代码是
shell_exec('git init');
$d = shell_exec('git fetch origin master');
$output = shell_exec('git pull origin master');但它并没有像预期的那样工作。它有时起作用,有时不起作用。
我在我的git帐户中启用了双因素身份验证。你认为这是原因吗?
或者需要做任何其他事情来拉取数据?
发布于 2020-05-02 00:42:06
https://stackoverflow.com/questions/61543883
复制相似问题