php - using VersionControl_Git pear package fails -
php - using VersionControl_Git pear package fails -
i trying deploy cloning git project on webserver, cannot work
<? require_once 'versioncontrol/git.php'; $git = new versioncontrol_git('/home/xxx/public_html/yyy'); $git->createclone('http://github.com/maysam/braincheck.git'); ?> but error:
fatal error: uncaught versioncontrol_git_exception: errors in executing git command output: error: error: 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
i think need utilize git:// url.
$git->createclone('git://github.com/maysam/braincheck.git'); php git pear
Comments
Post a Comment