Calling 'git pull' from a git post-update hook

前端 未结 4 649
误落风尘
误落风尘 2020-12-02 13:44

I have a central git repo set up using gitolite.

I want to set up a hook such that whenever a user pushes to the repo, it performs a pull elsewhere followed by some

4条回答
  •  隐瞒了意图╮
    2020-12-02 14:25

    Never mind... found it here: https://serverfault.com/questions/107608/git-post-receive-hook-with-git-pull-failed-to-find-a-valid-git-directory

提交回复
热议问题