I need to to a git checkout in pure PHP.
I already tried this ( http://www.phpclasses.org/package/5310-PHP-Retrieve-project-files-from-GIT-repositories.html ) with HTTP and SASL, but I didn’t really work.
Then I took a look at GLIP ( https://github.com/patrikf/glip ), but that doesn’t seem to have any functionality like this.
Basically I need to
-replicate/clone a remote git repository
-“extract” master branch files into a specified directory
The main problem with PHP GIT is, that it just didn’t supported all possible changes you could do in a commit. Only new files, no moving around of files. And it was also unable to extract files.
/edit:
git is not installed and I also cannot install git
You can try with
It requires Git to be installed on the machine though and is in beta as of this writing.