/ Published in: Bash
Make sure it has the appropriate rights.
chmod -x post-receive
chmod -x post-receive
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh cd /path/to/working-copy/ || exit unset GIT_DIR git pull repo branch