public
Last active

Git pull Helper

  • Download Gist
git_pull
1 2 3 4 5 6 7 8 9 10 11 12 13
/**
* Git Pull
*
* @author Adam Patterson
* http://www.adampatterson.ca/blog/2011/10/diy-simple-staging-server/
*
* Use: echo pull();
*/
 
function pull ( )
{
return shell_exec('git pull');
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.