Skip to content

Instantly share code, notes, and snippets.

@jacklynrose
Created April 19, 2011 08:17
Show Gist options
  • Save jacklynrose/927007 to your computer and use it in GitHub Desktop.
Save jacklynrose/927007 to your computer and use it in GitHub Desktop.
post-receive git hook to pull changes to your source folder
#!/bin/sh
cd ~user/ProjectRepo
env -i git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment