Created
May 6, 2012 03:00
-
-
Save mybuddymichael/2607214 to your computer and use it in GitHub Desktop.
My web server post-receive hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
GIT_REPO="/home/private/mybuddymichael.git" | |
PUBLIC="/home/public/dev/" | |
cd $PUBLIC || exit | |
unset GIT_DIR | |
echo "*** Pulling changes into prime." | |
git pull hub master | |
exec git-update-server-info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment