/ Published in: PHP
Update a Git repo with PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Git Pull * * @author Adam Patterson * * Use: echo pull(); * * Use a GitHub Post-Receive URL and automatic call this function with a URL. */ function pull ( ) { }
URL: http://www.adampatterson.ca/blog/2011/10/diy-simple-staging-server/