后置接收挂钩

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了后置接收挂钩相关的知识,希望对你有一定的参考价值。

Make sure it has the appropriate rights.
chmod -x post-receive
  1. #!/bin/sh
  2. cd /path/to/working-copy/ || exit
  3. unset GIT_DIR
  4. git pull repo branch

以上是关于后置接收挂钩的主要内容,如果未能解决你的问题,请参考以下文章