Skip to content

Instantly share code, notes, and snippets.

@kayue
Created July 16, 2011 14:55
Show Gist options
  • Save kayue/1086418 to your computer and use it in GitHub Desktop.
Save kayue/1086418 to your computer and use it in GitHub Desktop.
Auto pull after git push
#!/bin/sh
user='dev101'
site='hypebeast'
cd /home/$user/public_html/$site
sudo -H -u $user git pull origin v9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment