Hailwood
Hailwood

Reputation: 92581

Pull changes and merge files from github using php?

I am looking at setting up a blog for all my plugins. All the plugins are hosted oh github. because each plugin has all the information I would want to show in my blog already I want to try generating my blog pages automatically (and the demo pages for the plugins). I know how to setup post-receive hooks to get A ping when the repo gets pushed to. And I could download the entire zip of that repo but I am wondering if there is a more elegant way and was looking at pulling just the changes and merging them. Is this possible with php?

Upvotes: 0

Views: 97

Answers (2)

kbjr
kbjr

Reputation: 1254

Maybe Git.php can do what you need.

Upvotes: 1

Michael Robinson
Michael Robinson

Reputation: 29498

Have you Googled for a PHP+Git library? I did and found this: PHP Git, and this git-php.

Upvotes: 0

Related Questions