开发者

Performing a git pull in pure PHP

I was wondering if anyone knows of a library or how to perform a get pull request with pure开发者_高级运维 PHP, without git being installed on the server.

First of all, is this even possible? I have seen the odd class, but they don't seem to be able to perform pull requests.

I guess an alternative would be bundling some form of stripped down version of git with my script. Would that be possible?

I am really at a loss here so any help or suggestions would be much appreciated.

Thanks.


I have just realised that you can use SVN to request a repository from GitHub.

And SVN seems supported by PHP.

So I will use SVN, it should do the trick.

I hope this has saved someone else the trouble of Googling for hours. Give SVN + GitHub a go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜