/ Published in: Bash
Make sure it has the appropriate rights. chmod -x post-receive
Expand |
Embed | Plain Text
#!/bin/sh cd /path/to/working-copy/ || exit unset GIT_DIR git pull repo branch
You need to login to post a comment.
Make sure it has the appropriate rights. chmod -x post-receive
#!/bin/sh cd /path/to/working-copy/ || exit unset GIT_DIR git pull repo branch
You need to login to post a comment.