我想通過我的網絡服務器克隆我的Git項目部署,但我不能讓它的工作使用VersionControl_Git梨包失敗
<?
require_once 'VersionControl/Git.php';
$git = new VersionControl_Git('/home/xxx/public_html/yyy');
$git->createClone('http://github.com/maysam/braincheck.git');
?>
,但我得到一個錯誤:
Fatal error: Uncaught VersionControl_Git_Exception: Some errors in executing git command Output: Error: error: The requested URL returned error: 403 while accessing http://www.github.com/maysam/braincheck.git/info/refs fatal: HTTP request failed in /home/xxxx/php/VersionControl/Git.php on line 164 Exception trace #FunctionLocation 0VersionControl_Git_Util_Command->execute()/home/xxxx/php/VersionControl/Git.php:164 1VersionControl_Git- in /home/xxxx/php/VersionControl/Git/Util/Command.php on line 237
在執行命令GIT中輸出一些錯誤:錯誤:github.com [0:207.97.227.239]:錯誤號=拒絕連接致命:無法連接的插座(連接被拒絕)在/家/黃埔/ PHP的/VersionControl/Git.php在線 – Maysam 2012-01-16 08:04:47