Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block dalethedeveloper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
egdelwonk / gist:5052319
Created Feb 27, 2013
Setup post-receive hooks to checkout code to a webroot folder when pushing to a remote repo
View gist:5052319
echo 'Git Setup'
echo ''
echo '+--------------------------------------------------------+'
echo '| Setting up deployment repo |'
echo '|--------------------------------------------------------|'
printf "| Repo Dir: "
View deploy.php
date_default_timezone_set('Europe/London'); // Set this to your local timezone -
* The root directory where the repos live.
* @var string
$root_dir = '/your/root/dir/';
You can’t perform that action at this time.