Skip to content

Instantly share code, notes, and snippets.

Created June 1, 2016 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8b2c8a69f60a629990f8c159c07fc634 to your computer and use it in GitHub Desktop.
Save anonymous/8b2c8a69f60a629990f8c159c07fc634 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
#exec git update-server-info
echo 'test' > /home/user11/test
cd /var/www/html/test_proj && git pull origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment