Skip to content

Instantly share code, notes, and snippets.

@daymun
Created June 3, 2012 00:50
Show Gist options
  • Save daymun/2860763 to your computer and use it in GitHub Desktop.
Save daymun/2860763 to your computer and use it in GitHub Desktop.
post-receive hook for devinwadsworth.com
#!/bin/sh
echo 'Refreshing local files'
cd /var/www/devinwadsworth.com
git --git-dir='/var/www/devinwadsworth.com/.git' pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment